this post was submitted on 15 May 2025
4 points (100.0% liked)

Emacs

2591 readers
1 users here now

Our infinitely powerful editor.

founded 5 years ago
MODERATORS
 

I keep finding it in my code, in areas I am not working in or in areas I just completed. Is there some sort of autocomplete or spell checker that thinks it knows better than me?

I tried searching for : space = but it found := (no space)

you are viewing a single comment's thread
view the rest of the comments
[–] nmtake@lemm.ee 2 points 2 months ago (2 children)

Can you post the output of M-x describe-char on each character (":", space, "=") here?

[–] waspentalive@lemmy.one 2 points 2 months ago (1 children)
         position: 1 of 3 (0%), column: 0
        character: : (displayed as :) (codepoint 58, #o72, #x3a)
          charset: ascii (ASCII (ISO646 IRV))

code point in charset: 0x3A script: latin syntax: . which means: punctuation category: .:Base, a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET 3a" or "C-x 8 RET COLON" buffer code: #x3A file code: #x3A (encoded by coding system utf-8-unix)

          position: 2 of 3 (33%), column: 1
        character: SPC (displayed as SPC) (codepoint 32, #o40, #x20)
          charset: ascii (ASCII (ISO646 IRV))

code point in charset: 0x20 script: latin syntax: which means: whitespace category: .:Base, a:ASCII, l:Latin to input: type "C-x 8 RET 20" or "C-x 8 RET SPACE" buffer code: #x20 file code: #x20 (encoded by coding system utf-8-unix)

                  position: 3 of 3 (67%), column: 2
        character: = (displayed as =) (codepoint 61, #o75, #x3d)
          charset: ascii (ASCII (ISO646 IRV))

code point in charset: 0x3D script: latin syntax: _ which means: symbol category: .:Base, a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET 3d" or "C-x 8 RET EQUALS SIGN" buffer code: #x3D file code: #x3D (encoded by coding system utf-8-unix)

[–] nmtake@lemm.ee 3 points 2 months ago

Please post the whole output (it should contain "font" and "text propertires"), and run describe-char against the actual space-inserted assignment operator you found (not the newly created file), and finally, enclose the output with three backquotes. to format it properly.