From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WFTTOdqJcF+qcgAA0tVLHw (envelope-from ) for ; Sun, 27 Sep 2020 12:47:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4Ci3NdqJcF92TgAA1q6Kng (envelope-from ) for ; Sun, 27 Sep 2020 12:47:22 +0000 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 4DD269406A2 for ; Sun, 27 Sep 2020 12:47:22 +0000 (UTC) Received: from localhost ([::1]:44136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMW5I-0003MQ-8x for larch@yhetil.org; Sun, 27 Sep 2020 08:47:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMW4O-0003ME-PL for emacs-orgmode@gnu.org; Sun, 27 Sep 2020 08:46:25 -0400 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:35956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMW4M-0001P4-RG for emacs-orgmode@gnu.org; Sun, 27 Sep 2020 08:46:24 -0400 Received: by mail-qt1-x833.google.com with SMTP id n10so6160111qtv.3 for ; Sun, 27 Sep 2020 05:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=1l4LS3QdZDjVoSR2daLwj9dHGJr6fy6j6LhairDo0BE=; b=I2fsCy5wMnLe5Ktb5ZoPwFlniJFH3qdChQJfIsloLTPos5v5/oElaUpe2DhpIHJpl+ 4WPzrDllicKW5hrWeErL4ls3RsAcNazEV99PAL0/YvShhLSXbZOAkbmsfdt2HZ463tYW eTrzlZwnUdz48viND9HcBBfjvDg2FmFNJNbecjQZokTRj3DlbldiSDzHFXKglA5qmdDQ g1e+OlWdG7R4091bPxwyUedaEIPbjnv4iSPLWSfwkE1q9SymS+53NNJyCkjywX8Q5drB Y89GOgjkrWEFsGVwJgbIZuJqttsUPqG7YXE2ZFWy0xciQ8upey+sfJb6H7R8zJJYIv7p jbng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=1l4LS3QdZDjVoSR2daLwj9dHGJr6fy6j6LhairDo0BE=; b=BtK6llmP2NL1Kl5tJo12kOZy7kG6rFue917Rhj8felx2VJXG9s18v/N6/c1f0tswRF 07aWKsicF0TLmyzCABJmzVVlH3NaBevDzkQqxm7jzPJ06RwtBBBS6RzOCl7Xpkf5dMF0 RyUMeitBF/RJ3Z2P1eUhYvG7J0fWAQKVNauqqdeAEqBLgk0rEsraPh54qI1uY0bJDw0H LXSsWIizCf8WKp/EckDrGg2Uet28aekcfg9gssjNYcYzEfRcYw+zLbs2XtPcxtuLKXwu kgUA7Gu1mBJhs7OrTZagBy05TCZVnC3iul3+b/oVZ9jTUO1tvsbR2EJEQqkEmP+9T7se TYkQ== X-Gm-Message-State: AOAM531pZdXrzD+P8iUrqVLe7NprGrLrLGFLJPymtxF8cKBHUninSDGt k/orJYrUMKLwyZtqf445GrL50o8LcFMzZ3t4 X-Google-Smtp-Source: ABdhPJwhCxMrgx+SK9AicCO42qZyn6Df0ElnxblMrxuQdHROtm3aHaaAiSrtyWSl37KLCd1qqBXB2w== X-Received: by 2002:ac8:3876:: with SMTP id r51mr8246532qtb.181.1601210780220; Sun, 27 Sep 2020 05:46:20 -0700 (PDT) Received: from [192.168.86.23] ([136.56.42.72]) by smtp.gmail.com with ESMTPSA id g188sm1882383qkf.3.2020.09.27.05.46.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Sep 2020 05:46:19 -0700 (PDT) To: emacs-orgmode@gnu.org From: Panagiotis Vlantis Subject: Unexpected behavior when editing table formulas in dedicated buffer Message-ID: <3803a808-1323-fb88-c897-d3fdfc57c1bb@gmail.com> Date: Sun, 27 Sep 2020 08:46:18 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::833; envelope-from=panagiotis.vlantis.mc@gmail.com; helo=mail-qt1-x833.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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.23 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=I2fsCy5w; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: Iykeh0JwaenV Hi, I noticed that when editing table formulas in a separate buffer (using org-table-edit-formulas) which contain assignments to named fields whose name includes underscores (e.g., $foo_bar), these lines are not included in the generated #+TBLFM directive. This is probably because the regular expression in org-table-fedit-finish does not expect named fields with underscores although the manual indicates that they are allowed characters (Tables > The Spreadsheet > Advances Features). Going by the manual, it would appear that this "^\\(@[-+I<>0-9.$@]+\\|@?[0-9]+\\|\\$\\([a-zA-Z0-9]+\\|[<>]+\\)\\) *= *\\(.*\\(\n[ \t]+.*$\\)*\\)" should be replaced by this "^\\(@[-+I<>0-9.$@]+\\|@?[0-9]+\\|\\$\\([a-zA-Z0-9][a-zA-Z0-9_]*\\|[<>]+\\)\\) *= *\\(.*\\(\n[ \t]+.*$\\)*\\)" in the body of org-table-fedit-finish. Best regards, Panagiotis Vlantis