Skip to content
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

Invisible characters in email related souce files. #65625

Closed
zvyn mannequin opened this issue May 4, 2014 · 2 comments
Closed

Invisible characters in email related souce files. #65625

zvyn mannequin opened this issue May 4, 2014 · 2 comments

Comments

@zvyn
Copy link
Mannequin

zvyn mannequin commented May 4, 2014

BPO 21426
Nosy @warsaw, @benjaminp, @bitdancer, @zvyn
Files
  • linebreak.patch: Reviewed and deleted or replaced unprintable '^L' in the source files.
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2014-05-04.13:39:00.415>
    created_at = <Date 2014-05-04.13:34:10.827>
    labels = ['expert-email']
    title = 'Invisible characters in email related souce files.'
    updated_at = <Date 2014-05-04.13:39:00.379>
    user = 'https://github.com/zvyn'

    bugs.python.org fields:

    activity = <Date 2014-05-04.13:39:00.379>
    actor = 'benjamin.peterson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-05-04.13:39:00.415>
    closer = 'benjamin.peterson'
    components = ['email']
    creation = <Date 2014-05-04.13:34:10.827>
    creator = 'zvyn'
    dependencies = []
    files = ['35149']
    hgrepos = []
    issue_num = 21426
    keywords = ['patch']
    message_count = 2.0
    messages = ['217874', '217875']
    nosy_count = 4.0
    nosy_names = ['barry', 'benjamin.peterson', 'r.david.murray', 'zvyn']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue21426'
    versions = ['Python 3.5']

    @zvyn
    Copy link
    Mannequin Author

    zvyn mannequin commented May 4, 2014

    I found non-printable characters in the source files of the email package. Vim rendered it as '^L', pasting it on the linux console has the same effect as CTRL+L. In most places it was combined with regular newlines, sometimes as a replacement, sometimes additionally to them.
    My guess is that these files were saved with an editor replacing '\n' with '\r' and additional '\n' were inserted afterwards since the linebreaks seemed to be gone.

    I replaced these chars by '\n' or '' in the attached patch.

    @zvyn zvyn mannequin added the topic-email label May 4, 2014
    @benjaminp
    Copy link
    Contributor

    They are page markers to assist in file nagivation. https://www.gnu.org/software/emacs/manual/html_node/emacs/Pages.html

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant