From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qB5bC7Vy/WS0yQAA9RJhRA:P1 (envelope-from ) for ; Sun, 10 Sep 2023 09:39:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qB5bC7Vy/WS0yQAA9RJhRA (envelope-from ) for ; Sun, 10 Sep 2023 09:39:33 +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 828A75FF71 for ; Sun, 10 Sep 2023 09:39:32 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YAchBS7r; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694331573; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=1fC4NJhAsXvSMj434igUHdmz3pqPkM3HvQO0MJ8C6Ec=; b=c0JvdkD8EUQ6ZGFJtzfoi+x+qbTMNaYKnrLM9fCIFov9qhUi0eiEZISQK2YtpwAd2ShhZ8 YIumHa6z84+Y6u/2dO/DYspelHWzcqNQb1fTO5XRhXjnroNYdN62fUyjUkcwuRGftBUyjE sLragAD7acHd3nw5XYNCQlfK1I3FPze7ADXlEKYfTmuuq9FqP9FCNCJqS/1onjPTcFFl0U fYtfKqKXS7YvtP40Ialq1v+3GnR77aewGg/VAUIbo0sYV3JatTjpHuuQKTfFNl2AEQVG2I FFuUz2admhb5QuRx/2ThyHS/cO6aibbolx+8SO6vg3pmbVqfSRA4dll7teHFiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YAchBS7r; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694331573; a=rsa-sha256; cv=none; b=Q0xnxO9P/1XuI2U3PNioFWrQsMlGWerF1fufATbVjCxkbhutplqnCCzv8JIJOsnC5dI+Mi slLGWOnNkI/xej9bEIvMm8mC+hjrwt3Z7gKn0tyVp41+zuMKE/7avO4/hEC219R84eJIIA EDEo2Ei4L/hKF1PGMubzaMCPBjoV9oVch8HD4OtRTl2b/yrNnvQ4Ne6Tn6HoYz13PQUNy7 zmEy9AO8aNHuXF/0L/3mV7h08G0plim+ZFIYV2ORwJQNHgQu/IO0xuEnx7uKtK0V3c9JHk UveH5ljiX9HoNNQ0m/2FTH47mZxIODgElOI6GibSL4ln+ZwibWh+3fNDs/v2Aw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfF1h-0005BA-RJ; Sun, 10 Sep 2023 03:38:37 -0400 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 1qfF1g-0005B1-In for emacs-orgmode@gnu.org; Sun, 10 Sep 2023 03:38:36 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qfF1c-0001Oz-KJ for emacs-orgmode@gnu.org; Sun, 10 Sep 2023 03:38:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 155F9240101 for ; Sun, 10 Sep 2023 09:38:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694331510; bh=kH0uU5dvwArsEW/g/j/W0u+WslLBd9IDxkOqdh46cW0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=YAchBS7rMoa+tWZnuxKFGQW46wA7fgPs6WA8CgPsr+yT8VI3u/t1KE3NRteD6TcBC VMYXYH19oOrbK+tyrz+v9WcH8t1Nc1M1+SkOE4cdgcNHcM7S5DTtU5BcacVXYIYrYR lQnsgC0mRkXOpTYzLa7vmeOxsdlSbrhP8KPSixoBq/mFUWP/DcjpBG9CuJOwn66kPL YOKlqDoVpmgyXwxNJnp9T5CH/TGcLkMQQubqitH8zkh+upohddtilnmBHbkL+oZlK0 8Be8Cuu+Ww/17q0ntVG7lxSg1E42lubCOVLPa8RZdObD/63mE6uA+5dnQ90awI16ji uZ0HU7CSsDiww== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rk1tF2B4Gz9rxM; Sun, 10 Sep 2023 09:38:29 +0200 (CEST) From: Ihor Radchenko To: No Wayman Cc: emacs-orgmode@gnu.org Subject: Re: Org mode version 9.7-pre (9.7-pre-n/a-g2030c1 @ /home/n/.emacs.d/elpaca/builds/org/); org--get-expected-indentation: useless cond clause In-Reply-To: <87wmwzdwx8.fsf@gmail.com> References: <87wmwzdwx8.fsf@gmail.com> Date: Sun, 10 Sep 2023 07:39:30 +0000 Message-ID: <87tts2jx3h.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 828A75FF71 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.43 X-Spam-Score: -6.43 X-TUID: 3SRkTk2gypkD No Wayman writes: > When compiling Org, I get the following warning: > > In org--get-expected-indentation: > org.el:19192:8: Warning: Useless clause following default =E2=80=98cond= =E2=80=99=20 > clause > > I looked at the source and confirmed it is not a false positive. > The following code is unreachable due to the (t ...) cond clause=20 > before it: > > ;; Finally, no indentation is needed, fall back to 0. > (t (current-indentation)))))) Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D515e4ed49 --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at