From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 oNVtElaB2WPebwAAbAwnHQ (envelope-from ) for ; Tue, 31 Jan 2023 22:00:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +JCDEVaB2WOMdgEAG6o9tA (envelope-from ) for ; Tue, 31 Jan 2023 22:00:06 +0100 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 DFC8BC7D9 for ; Tue, 31 Jan 2023 22:00:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMxgg-0007rX-Nv; Tue, 31 Jan 2023 15:57:07 -0500 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 1pMxgR-0007gZ-44 for emacs-orgmode@gnu.org; Tue, 31 Jan 2023 15:56:51 -0500 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMxgN-0005Tx-5g for emacs-orgmode@gnu.org; Tue, 31 Jan 2023 15:56:48 -0500 Received: by mail-pg1-x535.google.com with SMTP id 78so10982629pgb.8 for ; Tue, 31 Jan 2023 12:56:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:to:from:user-agent:references:from:to:cc:subject:date :message-id:reply-to; bh=rDk7e+MB0kbruaiG835b9lXx1cqk1GUJpcpZAB+6K+Y=; b=BUffaSFAKavcOPAkalnKphEdvaFYDp2vFkPJAam9Ew8FRrUZsF5eq3epACIYix39dD u25Wn57Moh+cXF/xrSiwuEpUoe0SdfmxNpnZcJ8VCS++PQjQ5Aakj7UeBEYw9AgRptU7 P8lI53mee55kdL/qPlr4zQrwpV+Lht/U6f4F17a/xjTmO+PetqYKHEsqMTF72+AO33Fs dADb4uHn0elhHDVoPBidpA2EOwsBuHlVQPShekNTKDfVb9iqUhj1yhJxvf7LznlFGfuI 7bK/7ehJQnGvEzLCvUOkgw9V4CGXxH55GetCUL9hXPbLTXwonER/RBCZOJk4NqJj/ZGG fLFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:to:from:user-agent:references:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rDk7e+MB0kbruaiG835b9lXx1cqk1GUJpcpZAB+6K+Y=; b=nFCXK/+G6Xp6bFUie4nCqB0MOGPvKsAfq8OLLj4Fe0boL6lSmVLHL5AcNLtvNEKWg/ nwDKQgVmhh/PCL/LXuR+onQ8cs8YFKl70khB46TIZCtwNz7Snyl3ZuPJay6dURTfRI3u uqYPqSkvMVNtAdCAfReQ56zF5Q7xX9wcnOG1lwQlyF9hlEh/mN5grpsDsw6ZgRJ9OkP/ 07mYdaTBV7dqRyslRMus0LAo9PytmDBGr4tKWftHa2tgKxpLUQbJI5ym7HPakUhzwEE0 Y5n1FH6Yof8C4dooltHGyq1Rai0Fv2dWsWJj//OoDYSEa5HHhNutgSnL5fDZto+QPbrw hR6Q== X-Gm-Message-State: AO0yUKU8PpNoyjzYZsgDcOaq83RwDxp6r3ncSxnt0CePRt0DkHbAm4aC mKl3LZOnjH2Wpdngg8I/FcTpZ9XZhA829A== X-Google-Smtp-Source: AK7set8CFbuVh29T+LcYk4MUEuAT0O96aV2IhzXAwCGZqG1ERCyl1xr3shb5WErnup6tVuoRlMMY6Q== X-Received: by 2002:a62:d44b:0:b0:592:543e:85e0 with SMTP id u11-20020a62d44b000000b00592543e85e0mr18869125pfl.23.1675198605617; Tue, 31 Jan 2023 12:56:45 -0800 (PST) Received: from dingbat (124-169-47-98.dyn.iinet.net.au. [124.169.47.98]) by smtp.gmail.com with ESMTPSA id x10-20020aa79a4a000000b00593eb3a5e44sm2106960pfj.37.2023.01.31.12.56.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Jan 2023 12:56:45 -0800 (PST) References: <186f5535-1a59-27f9-a0a8-7872586529bc@easy-emacs.de> User-agent: mu4e 1.9.18; emacs 29.0.60 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: lesser-than as open paren Date: Wed, 01 Feb 2023 07:52:52 +1100 In-reply-to: <186f5535-1a59-27f9-a0a8-7872586529bc@easy-emacs.de> Message-ID: <86cz6u1kz9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x535.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, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675198806; a=rsa-sha256; cv=none; b=oXTVylI8cRGgwS921gFfjfqiMDcplub5a/A85VMjKI4kHaxfao8DUaVpzcgQj1NzONsw6M Kf6tB8GAcBEwsPEG5U1kX/3TYIbyF2cxlCnVsw3mL1NDFjRgSgHql7PAO5cuwoiGVu+CO5 XwRG/JURRA1PSaeYAvUUZeYVtxdjKvt8zUpb1rJAqJ8dlM7DtmpVWX0/HmgusZB7l6y6jt JNcnDsaf6Awig39/S5UmN6HQ8N2YSp5bqFgpu7aScW3Ri0chyZZYK8N7ctKmg4ihXzKRYf bN2BZyOMzVPAX7epE7zcJx4fcxVX4YpHrhMiixqXnn1DyCiUUkOT5VVKXzD8Tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BUffaSFA; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675198806; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=rDk7e+MB0kbruaiG835b9lXx1cqk1GUJpcpZAB+6K+Y=; b=KEOhWD8hpOoC/uKYHIim132ObZXNmz8tO8leHyD6HD5rgEEQeiHeo23mopE5Ykvs3938wW dNr0KQAUUdu/1iUS/dluk7sU17/Eyz8e+8fuJuVo4BzTNenhieVU+VxGwegS7AMgbcGIPG 8Zo5nH6D3g6K69hZ/dNI+N+B/fNZcukNfL9cFoncmZhl8IQN9jPqHVJ20e3WGu4Ks9uXyC wVyAF7hIp6ppNmNqP7m4N7ZZQm5WYTPoTOGBvjCQKZ2HGJ9/fR/U/uLI0p5hXox0oiLNm8 pSo6cybBJbhTWocYKZBw5LCqarl14JLf5JnS+X5KL/QCzsOdFREHSWmGg3JhBQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BUffaSFA; 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=gmail.com X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.77 X-Spam-Score: -4.77 X-Migadu-Queue-Id: DFC8BC7D9 X-TUID: UDsh08Tb9BRR Andreas R=C3=B6hler writes: > Hi, > > when taking notes in plain org-mode, run into trouble for instance with t= his > scala-snippet: > > =C2=A0 def scalaFiles =3D > =C2=A0=C2=A0=C2=A0 for { > =C2=A0=C2=A0=C2=A0 file <- filesHere > =C2=A0=C2=A0=C2=A0 if file.getName.endsWith(".scala") > =C2=A0 } yield file > > With cursor on lesser-than sign, get a type-mismatch. > > The culprit resides in org.el: > > =C2=A0 (modify-syntax-entry ?< "(>") > =C2=A0 (modify-syntax-entry ?> ")<") > > Maybe use this modification only when a special case requires it? > when you say "when taking notes in plain org-mode" do you mean the above code snippet is just in your org file and not inside either a source or example block? If so, I think that would be expected behaviour. Code snippets really need to be either in an example block or preferably a source code block.