help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ mode odd // behavior


From: Anast Gramm
Subject: Re: C++ mode odd // behavior
Date: Sun, 5 Nov 2017 11:32:24 +0200
User-agent: NeoMutt/20171013

> Very odd behavior in C mode: status line has C/l pair Abbrev.
> Editing a c++ header file.
> When I type // it inserts a bullet point as of today!
> Dont think i have seen this before.

It might be the yas-snippet package. Try disabling the yas minor mode.
If it is indeed yas, then you should find the '//' definition and disable it

> I have to type:/ [space] [backspace] / to get // to take effect.

in cc-mode you can also select a region then C-c C-c to comment it out with '//'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]