From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Defun Self Documentation Date: Thu, 05 Nov 2020 20:22:42 +0100 Message-ID: <87y2jfd2wt.fsf@fastmail.fm> References: <20201105154537.GA24492@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36552"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.6; emacs 27.1.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 05 20:24:01 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 1kakrX-0009NV-Ow for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 Nov 2020 20:23:59 +0100 Original-Received: from localhost ([::1]:53574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kakrW-0000Sb-Qd for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 Nov 2020 14:23:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kakqV-00088l-OJ for help-gnu-emacs@gnu.org; Thu, 05 Nov 2020 14:22:55 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:48735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kakqQ-0007oO-U4 for help-gnu-emacs@gnu.org; Thu, 05 Nov 2020 14:22:54 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1A6F75C00D5 for ; Thu, 5 Nov 2020 14:22:46 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 05 Nov 2020 14:22:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=RmL1lERx5YO844/fMsQE/0nN5O iSxwFE8dzngyV5abs=; b=eGDtzUvtTQcQ8QUEB0M3VQKMl6mnJwqM1ZnASzKjJr HGgWBLOvDOEHl8nvs6cpa501ZOuCVj1AWE1dShvRv5SHKoGKWkaQ36zTAskWFLLe JQof+RbKYwyLEAMP50iq4YUHkMcdF5JCV1tooZ82bXG9iCOE1DgpASmi6NicrcI9 4Vvy/2IeWhC3Pv9VCx967qQ+vzlhr7QwYgXjjEl5UdD02GFWz14Abjez714SvfY3 idcr8mpVltu7pY4IxYI5NMoq+PlROKxluBeVXg5mQBWMeWI4sdCw6A633r8c03yT 1e9r+Im6xmWRirwAMegSHYK10l7ZVJ3b3lOnzV9TEPmw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=RmL1lE Rx5YO844/fMsQE/0nN5OiSxwFE8dzngyV5abs=; b=HbJcnqWdZDsC9AakjBAF8Z K+fKxgkcAaawPb4i8vv/Sihn2IRJpaJ3P3f/nSh4pxRqpryYjwagRBW4pYG67h5D auUDYtHQbLsWyOxNg3jRfT+4W42UU0vfhSERD3K/PEFzcrnUxX34MmNUXuK4KR/P 43g+/io9n/hPqxpJdZ4FUCiJIgd6mCnYXayh4PsBT1wxLUyBCmDvSOMdGtm2poXw 1cryaJaTG3PwJL1GfPG2wwgk89Kju4l5DzhYAwzrQuyzngyaZ0JxvROHPuhD2AzB e6RrPNS8vNQ+ZD1hc5zuTMfC0JSTSL/cmuzYgyAYRtTSlK3uujA1Lp6HxNMoCscw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtjedguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufgjfffkgggtsehttd ertddtredtnecuhfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgv mhgvrhhssehfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeeluedtteejhe elgfeigfelieetvddtueehgffgieeukeffvdffudfgudduueeffeenucffohhmrghinhep ghhithhhuhgsrdgtohhmnecukfhppeelhedrledtrddvvdegrddvfeefnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhoohhsthhkrhgvmhgv rhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: from Swift.fastmail.com (ip5f5ae0e9.dynamic.kabel-deutschland.de [95.90.224.233]) by mail.messagingengine.com (Postfix) with ESMTPA id 72786306005E for ; Thu, 5 Nov 2020 14:22:45 -0500 (EST) In-reply-to: Received-SPF: pass client-ip=66.111.4.28; envelope-from=joostkremers@fastmail.fm; helo=out4-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/05 14:22:46 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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:125039 Archived-At: On Thu, Nov 05 2020, Christopher Dimech wrote: > Don't people find it tough to immediately figure out which bracket closes > what? That's what `show-paren-mode` is for. :-) You'll only really need it when editing existing code, however. For writing code, you should use something that keeps parentheses balanced (I use `paredit-mode' myself, but there are other options), and when reading code, you should mostly ignore the parentheses and focus on the indentation. This comes to mind: https://github.com/tarsius/paren-face/blob/master/parentheses.png ;-) -- Joost Kremers Life has its moments