From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp0 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id mOQTBvYcqmBBDgAAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 23 May 2021 11:14:30 +0200
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 UGDGAfYcqmA7UAAA1q6Kng
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 23 May 2021 09:14:30 +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 546D0B086
	for <larch@yhetil.org>; Sun, 23 May 2021 11:14:29 +0200 (CEST)
Received: from localhost ([::1]:54276 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1lkkBm-0004P8-IO
	for larch@yhetil.org; Sun, 23 May 2021 05:14:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34596)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <utkarsh190601@gmail.com>)
 id 1lkkBB-0004OB-5o
 for emacs-orgmode@gnu.org; Sun, 23 May 2021 05:13:49 -0400
Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:36682)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <utkarsh190601@gmail.com>)
 id 1lkkB6-0008Jl-Fa
 for emacs-orgmode@gnu.org; Sun, 23 May 2021 05:13:45 -0400
Received: by mail-pj1-x102b.google.com with SMTP id
 n6-20020a17090ac686b029015d2f7aeea8so9591879pjt.1
 for <emacs-orgmode@gnu.org>; Sun, 23 May 2021 02:13:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:in-reply-to:references:date:message-id:mime-version;
 bh=J2AFdotwnRER9qhdKbXeGDevL7VZ0WBhfpHzyC8ESvg=;
 b=cMcMhemggKdXuEASt+emGnqnPCedIoxi9O6VkaYEtDXJXZqnj1Q7odgphXpdN6dJkx
 Skb+xD5Utony7AeT7QLjNB6CwbYCYxfyfiCLcc08ymPnIA9fW4ViLzfqct7zR7y9fn01
 ovWtULUwLWc/BMwTS+LXQBDqbpkvxoDdv/k7H/ZziTT9bnmP/tbCvaAE9IXAT1ESUNfY
 m8NCMvfV1NS7L+bsTqHVP5MIp7jgAmTMCqHCX4DbWrwj15OOa0CUbWy7QB7x96CC5Yb7
 YbaGbEl5zBaEGtzbvKHRsYfuo3X+G58QgOfZM0JiLOmEVML1+wYNYZ2RZC80iB0dS2P6
 AETg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:in-reply-to:references:date
 :message-id:mime-version;
 bh=J2AFdotwnRER9qhdKbXeGDevL7VZ0WBhfpHzyC8ESvg=;
 b=OyYp/uQIm3Yeh8mDtKkQbxOv5ovk/04twZt4aZjVbyHzQMrZWRIX0IS+kxUvtHMS7v
 DE8HzQOp6B+3y80nrEKQFIPCLSakAjAMGOrAKw7SlOptWzUwXukuiaHFf+Y8oKiG+kyw
 MarNacLpwYDOCDGvA+rQj2krfHPOEs4NpfT/f47SN6pLgvK2ODPB3fUttuLfbO97c4Od
 ekYLEgVXA9GVzNNYOY/4X3Uch1fKzYNIw5YajVTYWCFRJsJ3fSNurG14Oaf5Rk2ySZL8
 omy33E6HjvLG7Wi8tugz7kquzSWTif3/IGlSVrNkm/C0EHBlofx6i22S7vhZgHyqxvbA
 dc4A==
X-Gm-Message-State: AOAM530o+QmT5ZB9Oi26s8cmPPXalI/inBuKpG5Ad2NyFdKmshboGPBk
 gIT272h9vKAUA48Slrb5Cqnkt2aXTFA=
X-Google-Smtp-Source: ABdhPJxGai9U2Wk3pCq03YdNrmq4jvI73KWEC8jgFpvui1UKlYGfiz0hn3lJdUDeNbAK9A8bi7zhFQ==
X-Received: by 2002:a17:90b:4a12:: with SMTP id
 kk18mr18975466pjb.99.1621761222860; 
 Sun, 23 May 2021 02:13:42 -0700 (PDT)
Received: from localhost ([103.77.0.17])
 by smtp.gmail.com with ESMTPSA id k186sm8494170pgk.82.2021.05.23.02.13.42
 for <emacs-orgmode@gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 23 May 2021 02:13:42 -0700 (PDT)
From: Utkarsh Singh <utkarsh190601@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] org-table.el: Fix usage of user-error
In-Reply-To: <87v979vni6.fsf@gmail.com>
References: <87v979vni6.fsf@gmail.com>
Date: Sun, 23 May 2021 14:43:54 +0530
Message-ID: <87sg2dvmlp.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::102b;
 envelope-from=utkarsh190601@gmail.com; helo=mail-pj1-x102b.google.com
X-Spam_score_int: 20
X-Spam_score: 2.0
X-Spam_bar: ++
X-Spam_report: (2.0 / 5.0 requ) BAYES_20=-0.001, 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, PDS_OTHER_BAD_TLD=1.999,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1621761269;
	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:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=J2AFdotwnRER9qhdKbXeGDevL7VZ0WBhfpHzyC8ESvg=;
	b=EngqUlmcJtncwpGHPpP3BIJhmxNm31q+pl/2IW9rtG4IQGzeU3bZ1yNViOZVdewl4r6J9s
	kbu22fyGiW+oIS/ZsVMy7yT6+fktdr/idLa2IzFGFgF/jbbqdhx5tqkr9ct/dNEfmlZa+p
	D4O77lCHzBs/edxZ1SnOi2LS7CwDlq3nqBu/oj9LWW7Dw5cpbjx3f5x0Zl8xwwwFm+Hou2
	fwuVZ0TPQgb+hSe8cXPF1ahrSiIImLVSCOAWguPOr/8W8DNyGxTr02O5jZIabXqpEdtDBL
	zjIPR/ydPMffvTMWgcgr008TOUymprHffEEreEaTBuEfmewKAwcaqZ+RN0hXIg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621761269; a=rsa-sha256; cv=none;
	b=Mxv1vdSJzySxAFu82l46PUcshfTqvgTPbLIuvPctHxxPZC3PI3A2W4B7JvRaSk14LmtsMe
	PMjlCJjhs11Biuc/CorIFfYmxgZEDRlbnJYLieTe8GUS8+//1GzlwDWqKQOdEz02qlBQxq
	LL8Y6sLsABYOjNWNkUCnKGLe4oj7/T1+T+zuRIRsATRGNE0HpbvvVdauGjYinrNa48tovx
	xKi8Buhx06NtqzZ5D9AqyZ5fdaYdzE0DBGbdkg+lh16U4FynZyixIEfkgrZa/viOxXUnRO
	JSkLZUv0StwND+lXxSm2XQ0dpxgT8iNlR34e0PGjIk3578uS1wMxs/DUxoosFw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20161025 header.b=cMcMhemg;
	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-Migadu-Spam-Score: -3.13
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20161025 header.b=cMcMhemg;
	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-Migadu-Queue-Id: 546D0B086
X-Spam-Score: -3.13
X-Migadu-Scanner: scn0.migadu.com
X-TUID: pW5nfWqEmQsu

On 2021-05-23, 14:24 +0530, Utkarsh Singh <utkarsh190601@gmail.com> wrote:

Hi,

This patch tries to fix usage of `user-error' in
`org-table-convert-region' which is currently _not_ taking benefit of
non-local exit of `user-error' function and using `if' to carry out it's
operations.

Please note that this is just an aesthetic improvement.

Thank you,
Utkarsh Singh

-- 
Utkarsh Singh
http://utkarshsingh.xyz