From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.help Subject: Re: imenu rescan automatically Date: Mon, 12 Aug 2024 23:02:01 +1000 Message-ID: <868qx1zygm.fsf@gmail.com> References: <864j7q4ohe.fsf@gmail.com> <86ikw6dp6g.fsf@gmail.com> <86cymedngq.fsf@gmail.com> <86sevaymv3.fsf@gmail.com> <86h6bqyltj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21109"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Heime , Heime via Users list for the GNU Emacs text editor To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 12 15:03:16 2024 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 1sdUhg-0005Iw-EQ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Aug 2024 15:03:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdUgl-0000VB-1N; Mon, 12 Aug 2024 09:02:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdUgd-0000MZ-Uh for help-gnu-emacs@gnu.org; Mon, 12 Aug 2024 09:02:11 -0400 Original-Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sdUgY-0003Lz-R8 for help-gnu-emacs@gnu.org; Mon, 12 Aug 2024 09:02:11 -0400 Original-Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-70d18d4b94cso3183212b3a.2 for ; Mon, 12 Aug 2024 06:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723467725; x=1724072525; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=rLAEh7+5hdQP9UQaSfIdbA09s/GBubXI+ZmtyjIVweA=; b=lqzXmYyDlfjFUJmpiARt4TOxQdUKPttpHq6VknQSTwIZIOE1/99IRMSCGklMd43Zyt NY/msW79JHvPkE9TETSsgNVGnhOLjFC7AZgM6TfHGndcOChKAq812WnOf0rWaNO3tGHJ d0fNPPdElO7eQRmrBdSYvr56oy1wSF1/UpoKrmPgLRKKViOnj4F5cDwnUOHHv5iDmvLI 1Ixuss5FpQzO5/DmAYtL0Nhw7E73aUSlk+QDh+fAG3z/D9YA/7/XdNbTmgzAPXZHxzxQ Tap9eUsvl4WaLF6c2sy2kiJg7n8eV4yRRIJY9WeBEtx5xMIQ9oasy1Aqit4t8LBpjmv5 v/wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723467725; x=1724072525; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rLAEh7+5hdQP9UQaSfIdbA09s/GBubXI+ZmtyjIVweA=; b=afP2fCVn8w7CrE4EmvTfeRxUXrx7k4ARtXt+wsE238giXiY37ziu93i0F36N1EvYR3 Xe5i13FIP96KmBDqoeCbpA+3k6ra3cJe/jc59Hj9fX1V35+AykDdIm1CZRWDPk9h5LS6 E/canCkn7NLT+BQcHSyJVFhWWYrBylrgYwus06Uf7wArEgb6uOUU/oczHKi5BHkJ4ovE E/XEb35VRvflnKSUwJQua4itwXpXFxdDf3OrSehisOnK9qQ0Ewq5j0y46BrZ34UUBtYu o0hWxmFPvtXN6EkTpafv5eNrc0xppgu8xVFDMuqX8BUioFbllxcKucR1NUD12jrRiSUb Y6DQ== X-Forwarded-Encrypted: i=1; AJvYcCXK1vdGt2UlgKuGi5Kd4Lz8T4cAlLAsDQeWRgqE8TEBBEl+OXr+YJN5ycQ6lkFPCrW3HYPqnatN3iOLbXliv3achXBxt4bs X-Gm-Message-State: AOJu0YzAvdr0YQcvc3Y37pDUeK10M+oIhlP4Dcai1exnCPtfUUnABd0A ZizbZoZOrnz4krL/i6Ye0JTE/zHxsGBovVFFFg5roBlqyqd0rutLXJ2h57Sm X-Google-Smtp-Source: AGHT+IHg4rbdjjPfQg8e2pM1dFPAvJ7i4SO36914AfOMlz590p5BsZ46kf92IDhl/vNxK+hPQsgxEw== X-Received: by 2002:a05:6a20:c70b:b0:1c6:faba:14a4 with SMTP id adf61e73a8af0-1c8d758e33emr328395637.41.1723467724718; Mon, 12 Aug 2024 06:02:04 -0700 (PDT) Original-Received: from LAPTOP-ACR66VVN (139-218-25-158.sta.wbroadband.net.au. [139.218.25.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-710e587373csm3939929b3a.1.2024.08.12.06.02.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Aug 2024 06:02:04 -0700 (PDT) In-Reply-To: (Christopher Dimech's message of "Mon, 12 Aug 2024 14:32:55 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=joel.reicher@gmail.com; helo=mail-pf1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147639 Archived-At: Christopher Dimech writes: > So I can forget any useful code that words. For code to work it 'only' requires that the series of state changes executed by the machine leads to the desired final state. It cannot and should not be underestimated how obfuscated that can be, and it is orthogonal almost to the point of being irrelevant to the way humans understand code. An example from the UNIX fortune file: n = ((n >> 1) & 0x55555555) | ((n << 1) & 0xaaaaaaaa); n = ((n >> 2) & 0x33333333) | ((n << 2) & 0xcccccccc); n = ((n >> 4) & 0x0f0f0f0f) | ((n << 4) & 0xf0f0f0f0); n = ((n >> 8) & 0x00ff00ff) | ((n << 8) & 0xff00ff00); n = ((n >> 16) & 0x0000ffff) | ((n << 16) & 0xffff0000); -- C code which reverses the bits in a word. If it works, but you don't understand it, it doesn't work. Regards, - Joel