From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Defun Self Documentation Date: Thu, 5 Nov 2020 21:08:54 +0300 Message-ID: References: <20201105154537.GA24492@tuxteam.de> <20201105160058.GC24492@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26152"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ (1036f0e) (2020-10-18) Cc: Christopher Dimech , help-gnu-emacs@gnu.org To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 05 19:09:58 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kajhu-0006hm-1f for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 Nov 2020 19:09:58 +0100 Original-Received: from localhost ([::1]:53564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kajht-0004YH-3P for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 Nov 2020 13:09:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kajh2-0003wc-4V for help-gnu-emacs@gnu.org; Thu, 05 Nov 2020 13:09:04 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:53425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kajh0-00070G-AT for help-gnu-emacs@gnu.org; Thu, 05 Nov 2020 13:09:03 -0500 Original-Received: from localhost ([::ffff:197.157.0.43]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0D02.000000005FA43FBB.00005F3C; Thu, 05 Nov 2020 18:08:59 +0000 Content-Disposition: inline In-Reply-To: <20201105160058.GC24492@tuxteam.de> Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/05 08:59:12 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125037 Archived-At: * tomas@tuxteam.de [2020-11-05 19:02]: > On Thu, Nov 05, 2020 at 04:55:54PM +0100, Christopher Dimech wrote: > > Don't people find it tough to immediately figure out which bracket closes > > what? But if readers will thank me, I would certainly comply. I come from > > the C-Language as is evident. I can understand the problem. Here is short advise: - (setq electric-pair-mode t) ;; This will give automatic () instead of only ( and it will work with [] and "", this helps to make sure what is closed - highlight matching parenthesis in menu and save options, that will give you flashing parenthesis and you will know what you are closing. - additionally you may see in minibuffer also first part of the list that you are closing