From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Don Woods Newsgroups: gmane.emacs.help Subject: cannot disable paren matching Date: Tue, 27 Dec 2016 13:29:47 -0700 (MST) Message-ID: <201612272029.uBRKTl39040819@home.icynic.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1482873256 29622 195.159.176.226 (27 Dec 2016 21:14:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Dec 2016 21:14:16 +0000 (UTC) Cc: don@icynic.com To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 27 22:14:12 2016 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 1cLz4P-0006Bk-W0 for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Dec 2016 22:14:06 +0100 Original-Received: from localhost ([::1]:56298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLz4T-0006Nz-9f for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Dec 2016 16:14:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLyRR-00068c-Kw for help-gnu-emacs@gnu.org; Tue, 27 Dec 2016 15:33:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLyRO-00024K-Hz for help-gnu-emacs@gnu.org; Tue, 27 Dec 2016 15:33:49 -0500 Original-Received: from home.icynic.com ([75.148.112.132]:44825) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cLyRO-00023u-Ap for help-gnu-emacs@gnu.org; Tue, 27 Dec 2016 15:33:46 -0500 Original-Received: from home.icynic.com (localhost [127.0.0.1]) by home.icynic.com (8.14.5/8.14.4) with ESMTP id uBRKTmDK040820 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Dec 2016 13:29:48 -0700 (MST) (envelope-from don@home.icynic.com) Original-Received: (from don@localhost) by home.icynic.com (8.14.5/8.14.5/Submit) id uBRKTl39040819; Tue, 27 Dec 2016 13:29:47 -0700 (MST) (envelope-from don) X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 75.148.112.132 X-Mailman-Approved-At: Tue, 27 Dec 2016 16:13:45 -0500 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:112007 Archived-At: I am having a problem where paren matching is not working as desired, and I am unable either to turn it off or to make it work correctly. The specific case where I'm having trouble is in PostScript mode, when also in Overwrite mode. When I type a character that acts as a close paren -- such as > or } -- the character is inserted instead of overwriting the current char. Emacs briefly highlights the matching open paren, or reports a mismatch, as the case may be, but does NOT remove the char I was intending to overwrite. Since I don't especially need the paren highlighting in my current editing, most of my attempts to work around this bug have involved trying to disable the paren-matching behavior. I have tried such things as (show-paren-mode 0) ;; no noticeable change (show-paren-mode nil) ;; no longer shows matching open ;; but still does not overwrite (modify-syntax-entry ?> "w" ps-mode-syntax-table) ;; > now highlights the char AFTER the matching < ;; but still does not overwrite (modify-syntax-entry ?< "w" ps-mode-syntax-table) ;; when combined with previous, > goes back to ;; showing matching <, but still does not overwrite I know I've tinkered with other paren-related vars without success, but no longer recall everything I tried. My only successful workaround so far is to scrap postscript-mode and use fundamental-mode. I'm using overwrite-mode while editing a portion of the PostScript file that is a block of "ascii art" data, so don't really need postscript-mode there, but it's awkward when switching between the data and code portions of the file. Note: emacs-version is: "GNU Emacs 22.1.1 (mac-apple-darwin) of 2016-04-22 on osx143.apple.com" Suggestions appreciated! -- Don Woods