From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Anast Gramm Newsgroups: gmane.emacs.help Subject: Re: C++ mode odd // behavior Date: Sun, 5 Nov 2017 11:32:24 +0200 Message-ID: <20171105093224.6mlm2lnm2f7dqlpd@gmail.com> References: <5d03940f-66b4-4ad2-90dd-6c8a57bdc920@googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1509874383 19467 195.159.176.226 (5 Nov 2017 09:33:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 5 Nov 2017 09:33:03 +0000 (UTC) User-Agent: NeoMutt/20171013 Cc: help-gnu-emacs@gnu.org To: sellputcall@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 05 10:33:00 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBHIY-0004io-Ii for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Nov 2017 10:32:58 +0100 Original-Received: from localhost ([::1]:43523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBHIg-0003XB-0w for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Nov 2017 04:33:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBHIA-0003Wv-75 for help-gnu-emacs@gnu.org; Sun, 05 Nov 2017 04:32:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBHI9-0007gb-HQ for help-gnu-emacs@gnu.org; Sun, 05 Nov 2017 04:32:34 -0500 Original-Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:55696) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBHI9-0007gP-AJ for help-gnu-emacs@gnu.org; Sun, 05 Nov 2017 04:32:33 -0500 Original-Received: by mail-wm0-x232.google.com with SMTP id y83so8705269wmc.4 for ; Sun, 05 Nov 2017 01:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=BQlxwUXa4r3p0AbZjPESTOzvb4vig14bqyPCqsbaVoA=; b=NvaxxdIGP6BPrHMR/el8u1baMfav/SoSOOyDxkewkkpDgoH5ewXaU1caomV+wo/oA8 nOHxvRDJINcxgZyN89PxLaJKXAn6lbKk2sGg9xWBFnzo1VZP+s4p58TeDtY2mFRrPrBS IF5rC+TyFsanejNlkfsNaC9tf7h9YXPThJKvL4FBGOOfHY1cuuClY7Pj1TKfG0NRcO9x rDjtmJXZE6pIe/kfxMpXC7BNRgVnfjRzOv12jXt23igSsc0lcjU820yiYLzCqeW/3E6+ fTiYGeZ9BYBHBRD+4Jbneeekla0M7UZWzGop5bHy45KHKy5W722FdTPofmuxD7mGNA4T IhnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=BQlxwUXa4r3p0AbZjPESTOzvb4vig14bqyPCqsbaVoA=; b=BTZ8oLcWgMOn6RKbe/tq4wRaYGrXzpa+whcsIcONxMxPKcDkWCPHr3Z2DyccD9BkWA BcdaUExoyET2QW5qosckX6tuiQ6KGmd/gkP+rndviHpFs4iMa+h9pxbUxia5cbh4kD+t UEKE3aS/nJY12FoU7mxGWXPoq8rG/QJ6hAei93n9rTxoVXvILzTVS0fz9wByDvPS5gib ozCSltV2iTcDFDOGnU559NtNitHwBgOEizZ6R5eqZ0V+SHKo27UndGe2MmL4yqqdnfEK KCcv0BpmkbqjX7QsbOSeJrxmGEC6thJisWCYvhpyZLB9T6y3gq6DsE92AGUITpqdftEc Jvsw== X-Gm-Message-State: AJaThX6B87dyO7CGq3DZCWoTv9UHXUINYkzeWtiipGEDuCyicYQiwZyK F+StYaRb8OBRs7QCeBRNAPs= X-Google-Smtp-Source: ABhQp+S8ehqSTRUrgt/V1bvMrifoS8Tqu4OBqsLqIrvKMkDkdYaSKNhB+hLkZW3RPQeZvtaYnCnMug== X-Received: by 10.28.54.154 with SMTP id y26mr3147020wmh.15.1509874352038; Sun, 05 Nov 2017 01:32:32 -0800 (PST) Original-Received: from gmail.com ([2a02:587:1837:6400:beee:7bff:fe5b:17a8]) by smtp.gmail.com with ESMTPSA id k9sm12642796wrk.88.2017.11.05.01.32.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Nov 2017 01:32:31 -0800 (PST) Content-Disposition: inline In-Reply-To: <5d03940f-66b4-4ad2-90dd-6c8a57bdc920@googlegroups.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116127 > 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 '//'