Skip to content

Adding comments in middle of a line #7

@travisdowns

Description

@travisdowns

I'm not sure if this is a nasm-mode issue, or just a quirk of emacs comment handling, but when using the nasm mode, I can no longer add a ; character in the middle of a line.

For example, I often have something like:

xor eax, dword [ebx + ecx + 123]

and I want to comment out everything after and including dword, like:

xor eax, ebx ; dword [ebx + ecx + 123]

When I enter the ; in that location there, the cursor instead jumps to the end of the line and adds the ; there. In some cases this is helpful, but in this case not. I have to delete everything I want to comment out, and then write the comment.

nasm-mode issue or emacs quirk?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions