From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6I2hC+0BZWK2FgEAbAwnHQ (envelope-from ) for ; Sun, 24 Apr 2022 09:53:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oBW3C+0BZWLB9AAA9RJhRA (envelope-from ) for ; Sun, 24 Apr 2022 09:53:17 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C1B6AA878 for ; Sun, 24 Apr 2022 09:53:16 +0200 (CEST) Received: from localhost ([::1]:41128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niX3T-0006W7-EQ for larch@yhetil.org; Sun, 24 Apr 2022 03:53:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niX2M-0006UX-Bx for emacs-orgmode@gnu.org; Sun, 24 Apr 2022 03:52:06 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:35781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1niX2K-0006QG-D3 for emacs-orgmode@gnu.org; Sun, 24 Apr 2022 03:52:06 -0400 Received: by mail-pl1-x62c.google.com with SMTP id d15so5884997plh.2 for ; Sun, 24 Apr 2022 00:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=5BYAn0g1SiY4en0khI5VCaP4Rfxm2e6s9S1ibALNmFg=; b=lMZAwqb9tUO43QAKe7wgIDrfQLHBXCrenvYy+iNS228Ilwm1Rq9A1iFU2htW+KehO4 /nXsHFqQ3hhLLw3JlLCOYgmt9Rwr7lNCn7P+hJQgbPVfNwQ6hYaeDGtvx/bxsDQcVktT VFkc/pWq9uuie7fwJBJalcrg3HhTz0GsVnaR1GS3Juol40kIrV62LPsyMF5EQ7r0xMPD w4aOl7FdMJD+/LH+L+hMQlYVbls+LM5ClPUAay4SXnP5yJeOzghpMlP6W738jJeL6NA4 ApqNKAAHemrAEmWR4si9Lp9K3Vm6hGbqYRbIPDBXNnWXD/4pFoF9Jq7X1h3ede6CL32T g+xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=5BYAn0g1SiY4en0khI5VCaP4Rfxm2e6s9S1ibALNmFg=; b=RHNPSbTv/JAzradxv61AQWFBVP6hIG4ToCaElM/JuSW8nkZBZ9c3IIiOhHp1TgDUIi 4jJUJS6b59SeDghUxfVgp32W1sBciXCza6mG/cfJucpyo9TYwkncJiwt60NB4B7uhWO0 q1bDiDCr2CvrNyfBzS+lTLuhwXHgijajV2yaQTkVloVu/ebVUeSqOuk1rLCdcrjep2ZI 2VIhVrYY5F/en9mAtlDQF5uXyiR3AjU7EnZsq+4JgDU+oJQQQ4ephigkz3v6AabyriMA TqV+TDgvZirGyckQESa8hXwNmNTw3mEGRT8i3368vPdTsclE3I9/kdESZ+mfluupWtS+ M46w== X-Gm-Message-State: AOAM532sEs7M9wWH+rMMS4/Nic0Sk4S2aN4aY4JIQfRawCpC5/KhA49Z UIcZ6ZZIGRRkcGqW5Q3FwI4= X-Google-Smtp-Source: ABdhPJyy4xmMPOXYGCOs1wO9SMQjA+Yea8L/KnTvCnSqvv43QyMBkdl1S3o0NeVj+ipqy7hm/TYRjQ== X-Received: by 2002:a17:902:6b44:b0:154:4bee:c434 with SMTP id g4-20020a1709026b4400b001544beec434mr12581001plt.43.1650786722566; Sun, 24 Apr 2022 00:52:02 -0700 (PDT) Received: from localhost ([211.22.184.184]) by smtp.gmail.com with ESMTPSA id p1-20020a056a000a0100b0050ac9c31b7esm8236186pfh.180.2022.04.24.00.52.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 00:52:01 -0700 (PDT) From: Ihor Radchenko To: Kaushal Modi Subject: Re: [PATCH] Fix inf-loop due to org-eldoc when point is in an org src block In-Reply-To: References: Date: Sun, 24 Apr 2022 15:52:55 +0800 Message-ID: <87sfq2nciw.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-org list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650786797; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5BYAn0g1SiY4en0khI5VCaP4Rfxm2e6s9S1ibALNmFg=; b=ePJp48Us+jwfpJ+um6dD/MYyqwbqpks2xLZY51+HmL83KeHao684ig9QUTiM44X/1Kh4sT VzYCk99zWk/gLIFh1CYaNGjiT+kehoiLrb9/S619FXDZNB0tCzBvYi87Y0xQblIrnTWg+G qNb6KBwws+HBsmpprT48zVxxzhBy5Jd01X05BMXkZnQvHUMCfnv19kcbGUaznkCWT6akFZ sfCskZknsEES6g1j+2xDhGgJ9F+bJwVA/xLSACv24Ewz7Co47Wkr9wlsdTgDIQuv70TSc1 eqCrFK+gTVeNQ1/8mHCGHMCykfnv0cf/2gb9b4CUg0Hii/DiwPfvg/k7jQGbMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650786797; a=rsa-sha256; cv=none; b=tNKwhKWODRVbkMOS3mpNXmCKZ2H1idYvHgwIrSte1FmUnVM8NJKaEHPgMEM1Mxn9CRNmc7 XsC3lKIkCyXmvhCkcpEF2G09oo6qFK8jixaJCoRddjPHWN+M9DMrtzJcuzmOVLzPMVtKbZ DFP0KDNOIupWznNkr6sSYclqVUM6X0J9gF7Qxh3cc5ajD9AlOZiLJY71xEjFTD+ApJGrQu eVtZa1iuuzEbkOeUxt3ul+Yf9bRyKBWyKdyFrTRclsMqoUfBGuu2GTYr9nzwU3GZHujkvQ ykYx8/8rnLbLhQ5zdUujQk6qf3nbR3u1AAc+awr7Gwe0RAK2XqfRH5doypOCBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lMZAwqb9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lMZAwqb9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C1B6AA878 X-Spam-Score: -5.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: KgVTB4LAEmtP Kaushal Modi writes: > The patches attached in this email fix the issue reported in > https://lists.gnu.org/r/emacs-orgmode/2022-04/msg00373.html. They are > based off the master branch of https://git.sr.ht/~bzg/org-contrib. > > patch 1: Minor cleanup in the function that I am touching for the fix > in patch 2: re-indent, untabify > patch 2: Fix for the inf-loop > > Can someone please review and apply these patches to the org-contrib repo? Applied. Thanks! Best, Ihor