Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Commas inside addresses create wrong split upon return from editor #54

Closed

Description

@brianbartholomew

The directory service at my university which my Thunderbird uses
returns addresses formatted like this. Sometimes there is a space
after the comma between the last and first name:

Bartholomew,Brian <[email protected]>

When I reply to a message and use External Editor, the address has the
same punctuation format in my external editor emacs. But when I send
the message back to thunderbird, the address is split at the comma
between the names. This makes the addresses wrong. Could these
commas be quoted by External Editor for the round-trip to the editor?

My environment is:

External Editor 2.0.2
Thunderbird 68.2.2 (64-bit)
GNU Emacs 25.2.2
Ubuntu 18.04.3 LTS / bionic

Activity

  1. added
    bug
    on Dec 24, 2019
  2. snipsnipsnip commented on Dec 24, 2019

    @snipsnipsnip
    Member

    Hi, thank you for the report with an example.
    Sorry, it looks like a bug in v2.0.1. Addresses like Bartholomew,Brian <[email protected]>
    should become "Bartholomew,Brian" <[email protected]> in the external editor.

    Can you try v2.0.3?

  3. brianbartholomew commented on Dec 24, 2019

    @brianbartholomew
    Author

    Thank you! Version 2.0.3 fixes the quoting bug, but there is another
    bug which I thought was part of the quoting bug but apparently isn't.
    This other bug appeared after a Thunderbird update a few months ago.
    This bug's symptom is that after the return from the external editor,
    there is an additional To: line in the Thunderbird compose window with
    no contents in the address field. I don't see anything corresponding
    in emacs that is suspicious, like a trailing comma in the To: line.

  4. snipsnipsnip commented on Dec 26, 2019

    @snipsnipsnip
    Member

    Thank you for confirmation :)
    Yes, that empty To: bothers me too, but I couldn't remove it without breaking the behavior. Cleaning that field from add-ons makes Send button nonfunctional. It seems like Thunderbird 68 needs that empty field to work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions