From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Beatrix Klebe Newsgroups: gmane.emacs.bugs Subject: bug#33794: 26.1; electric-pair-mode breaks auto-newline minor mode of cc-mode Date: Tue, 18 Dec 2018 12:38:41 -0500 Message-ID: Reply-To: bea@klebe.blog NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1545155169 5318 195.159.176.226 (18 Dec 2018 17:46:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2018 17:46:09 +0000 (UTC) To: 33794@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 18 18:46:05 2018 Return-path: Envelope-to: geb-bug-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 1gZJRV-0001EZ-0G for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Dec 2018 18:46:05 +0100 Original-Received: from localhost ([::1]:55580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZJTb-0003Cd-F6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Dec 2018 12:48:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZJTS-0003CS-1t for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 12:48:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZJTP-0004W0-8H for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 12:48:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZJTO-0004Vc-Tf for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 12:48:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZJTO-0002sy-Mv for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 12:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Beatrix Klebe Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Dec 2018 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33794 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154515523011021 (code B ref -1); Tue, 18 Dec 2018 17:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Dec 2018 17:47:10 +0000 Original-Received: from localhost ([127.0.0.1]:53644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZJSX-0002rg-2Y for submit@debbugs.gnu.org; Tue, 18 Dec 2018 12:47:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZJKj-0002dm-PK for submit@debbugs.gnu.org; Tue, 18 Dec 2018 12:39:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZJKd-00018O-23 for submit@debbugs.gnu.org; Tue, 18 Dec 2018 12:39:00 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gZJKc-00018D-R7 for submit@debbugs.gnu.org; Tue, 18 Dec 2018 12:38:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZJKb-0007pp-C8 for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 12:38:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZJKY-00011d-Su for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 12:38:57 -0500 Original-Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]:33331) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZJKY-0000tq-KY for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 12:38:54 -0500 Original-Received: by mail-ot1-x32c.google.com with SMTP id i20so16492818otl.0 for ; Tue, 18 Dec 2018 09:38:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=Soy28tKiEcIQCPe65ilSaayYE92xhjluoSqRCF9VtNw=; b=UxnXpo2yneh8RDJYosbmhjxUkOjo8i9E1xG3qRmr3mcSwnd52f1qkVrgg/1YvfoSB1 TTLtik1k9E3YDxf2cxGHYaCYzbuG7q8bHWIRtpVftCMzJqgQCKGi2piuxOX52pb2kFPo nMcko3t+At0b/89N6dZxaUD4ifY0YOcJzJ1GaMTXR/4q06Hz9EJ2EV1YYW3kMnLGN/DK kPfEF6vWEabLPxVkcm6Z5YCqsU2muURFa3oKxnp8uuLqNxUjBEReMknLqowUkSEFyRIB +uN+FP0qzYUWplxTPJ/QMmKUijoOfqd2WhVk0B7IrzJHiRpJ4TRVBjq7/F2JLsRugirY y2Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=Soy28tKiEcIQCPe65ilSaayYE92xhjluoSqRCF9VtNw=; b=E0deO9EkUDsHHnf2JEi1cwbY6m6TNkTMnbQaul8GCUP3G1ySOc3nzV4BUOipwNOVLN 2AvZjT4gtcUlU8Z1vxkcBBRKPjbQGyXHl+SQzkznWPYeQcl/xGygbjy/d2y1FSKJA1Ye mcxAV2lyd83R3Xk2L/6jCvqXHks4IHcKTnUqCIYKwzdjUETKkrklYVEQqEGtXnEzJwFt QTVnZAH6rG+rqdcS4MJ7fVngIw/iLFh+hfhyiKcqkiUjAwFzuLll46Clc1ncZO8tH7uo 30ytQ2/Pqj03l7autP+dMigjOTKHT09unzsScGeaVUHRlQBEiFtT3UChbHnoCYuNXk11 Y5Xg== X-Gm-Message-State: AA+aEWZWMd2Pi+OPLwrE9O8wrLn/ncFfNHfTZm3//JQL/keCM8hbds8y Vbns9Vq/5qXvRDyfnPFLFGh6kIsUMndDmAhxKtbH7gLt X-Google-Smtp-Source: AFSGD/USCdK8Zp5WuvVFr4PtgAqBgEtKSpIy42bddmVr1YJz0cQe39eFe0keOQb7JO+sKhRQD8ScoygaUzOXNCNBfr0= X-Received: by 2002:a05:6830:c7:: with SMTP id x7mr1021331oto.31.1545154732427; Tue, 18 Dec 2018 09:38:52 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 18 Dec 2018 12:47:07 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153559 Archived-At: When using cc-mode, turning on electric-pair-mode causes the auto-newline minor mode to stop inserting newlines where expected. This is relevant to the formatting of C# code with the Allman/BSD brace style in particular, though it would be nice if these modes specifically did work together. In GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511)) of 2018-05-30 built on builder10-10.porkrind.org Windowing system distributor 'Apple', version 10.3.1671 Recent messages: Saving file /Users/bea/.emacs.d/lisp/dotnet.el... Wrote /Users/bea/.emacs.d/lisp/dotnet.el ; expected Undo! ; expected Undo! [2 times] ; expected Auto-saving... ; expected [2 times] Making completion list... Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: C#//la Minor modes in effect: smartparens-global-strict-mode: t smartparens-strict-mode: t smartparens-mode: t diff-auto-refine-mode: t projectile-mode: t omnisharp-mode: t rainbow-delimiters-mode: t delete-selection-mode: t global-flycheck-mode: t flycheck-mode: t global-company-mode: t company-mode: t global-hl-line-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail smartparens-config warnings smartparens-text smartparens-ruby smartparens autoload radix-tree lisp-mnt tar-mode mm-archive message format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils network-stream starttls url-http tls gnutls mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap pp cus-edit cus-start cus-load wid-edit vc-git diff-mode projectile grep ibuf-ext ibuffer ibuffer-loaddefs omnisharp omnisharp-unit-test-actions omnisharp-code-structure omnisharp-server-installation omnisharp-format-actions omnisharp-solution-actions omnisharp-helm-integration omnisharp-navigation-actions omnisharp-current-symbol-actions omnisharp-auto-complete-actions omnisharp-server-actions omnisharp-http-utils omnisharp-utils omnisharp-server-management omnisharp-settings f s popup dired dired-loaddefs thingatpt ido csharp-mode imenu compile comint ansi-color cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs parinfer-ext parinfer ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff mode-local parinferlib rainbow-delimiters windows-config macos-config exec-path-from-shell org-mode-config development proof-general-config dotnet elec-pair ocaml backup editor delsel flycheck-config flycheck json map find-func rx subr-x company-config delight advice company-oddmuse company-keywords company-etags etags xref project ring company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb company edmacro kmacro pcase ui hl-line display-line-numbers zenburn-theme package-config auto-package-update dash use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core cl-extra help-mode finder-inf proof-site proof-autoloads pg-vars info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt bytecomp byte-compile cconv cl gv cl-loaddefs cl-lib time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 500415 57879) (symbols 48 41866 532) (miscs 40 198 1263) (strings 32 116702 6337) (string-bytes 1 3303823) (vectors 16 61571) (vector-slots 8 1021437 30984) (floats 8 135 577) (intervals 56 1409 585) (buffers 992 21))