From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mDAfCfsf81+FdwAA0tVLHw (envelope-from ) for ; Mon, 04 Jan 2021 14:02:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uHblBPsf8189XwAAbx9fmQ (envelope-from ) for ; Mon, 04 Jan 2021 14:02:35 +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 6F3469403AE for ; Mon, 4 Jan 2021 14:02:34 +0000 (UTC) Received: from localhost ([::1]:47158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwQRM-0004Nz-Pq for larch@yhetil.org; Mon, 04 Jan 2021 09:02:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwQPI-0003YK-Ms for emacs-orgmode@gnu.org; Mon, 04 Jan 2021 09:00:24 -0500 Received: from mail-am6eur05on2109.outbound.protection.outlook.com ([40.107.22.109]:40800 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwQPB-0006mh-MG for emacs-orgmode@gnu.org; Mon, 04 Jan 2021 09:00:23 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SJs+n1Zxsmc2C3h1OD4/UoZGLIKkzU36DWXE/IecQymAGWpbpQqPxcccLupsmDZu+4VAgjnywZ/K456OPJFgVJTXFtO4CNBPDBwyFbR1zbI0kcZK1YnBDVG2ydlhE00dzjql5oqumuc69D/pxnWyAr248gtQXFj6EkEa7MvKMhNQdKR6JdS+dNXSIXwO0xvpcxR6ZqcYcmVh/CmK+48ie6uLLULYnE0k2elDlbtzvLB9z0wSV+uW66fSKyKd6yQiAE43yP9VtphXD0yN6I1Fv0V72XV1vZhWiDyWS5Lh/NVIOLbNb1D9J+n2amq+AJ/6DUCgOB8t8RnfDX9WHLAv3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d/cXxCfjXHQqyDiywbYclGGSek0EXmb4O9rzp4dCbaw=; b=bLY5JbwxZkx/ShMvWyu1wnCtdK/VWL5QqPEdwnp8ydLK8MC3mvKICcqmnGOxgiB7cuXpfLxGRWdzCeqkiBnCcgCO4hv8PmNVsSZS6Dz3Fhsz8s31hw5gt974SGG4WZvOk6azJ6KkoLzCCKFp8u49Xz7orb/QVFeXWBnSSN3C8hpb3IUBc1Y26FIZYuwrC4LkFyVLkgAE0LbrjHghVz+inMtlOzQnu2jVXbQHJG56JvoOZIyofammJMKKc1p+5PXYPJiWEr4yqs+Ay5dsWy44tpPezcv7ablBNHbXV0TJc3c6KEVaCn3IduQDNRaVP1xu6f/kbOVARMs5YZuhbQ6gfg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d/cXxCfjXHQqyDiywbYclGGSek0EXmb4O9rzp4dCbaw=; b=O2zqEwPGTHlpR1pZziXJmm5z/c0WimlXYj1ETzkhrsydq7ED/nDEAZUyZVZ8HkuznQqgMPmaxTWPzthT4JT87uBNYTeMPH7kaRFy37bwkBZyS2qpa3V/iOlGDsQpRNSZcJ1VeptfrqzEKGYfGDzAFdRp3ovO1UMgnrCjZnGyLZA= Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) by VI1PR01MB6447.eurprd01.prod.exchangelabs.com (2603:10a6:800:15e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 14:00:13 +0000 Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::d084:c8c3:14df:8d97]) by VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::d084:c8c3:14df:8d97%7]) with mapi id 15.20.3721.024; Mon, 4 Jan 2021 14:00:13 +0000 From: Eric S Fraga To: Uwe Brauer Subject: Re: accounting Organization: On the Interweb somewhere References: <87ble56q1j.fsf@mat.ucm.es> <87o8i5t35l.fsf@web.de> <87eej06ff0.fsf@mat.ucm.es> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Uwe Brauer , emacs-orgmode@gnu.org Date: Mon, 04 Jan 2021 14:00:12 +0000 In-Reply-To: <87eej06ff0.fsf@mat.ucm.es> (Uwe Brauer's message of "Mon, 04 Jan 2021 13:43:31 +0100") Message-ID: <87k0ssls43.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-Originating-IP: [95.151.108.106] X-ClientProxiedBy: LO3P265CA0018.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:bb::23) To VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from t3610 (95.151.108.106) by LO3P265CA0018.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:bb::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19 via Frontend Transport; Mon, 4 Jan 2021 14:00:13 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bde4c413-943e-46f2-a6a9-08d8b0b90eed X-MS-TrafficTypeDiagnostic: VI1PR01MB6447: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d6dAS4dJ8n5wqlylmi23XJt/f0WZPRKU7dP02nfEVOVfAVC4LuNOeW3R9IZ7/RpcUrgPMCo6YR9f3ZcqjP5MggBtyj5J/Snp5VikQKuBMHuG6CC8tI8U7JZ+vt6VlQDvmISP5ijbk7734nHtNdhIwPG9ZETmdzQHRK2gcoPU7uXYuY+JPY0iQnS4gOlIQ+5G5RVi+YJtE+J9FldKedJKwoJIOdDoV7Sl+0Uyb7qV3rWRKQLjHBb2eJJxTVNcOCMnSCr30Xia0RcutX9NHrD2aorJjxAHeEy8mOzPW4sODMny4E6vO9oJGczPxJMqR6fEV0+R6kitTp/9B0OU19lweeDMgm2j0XEpI8RS2S720pTPDMwK9Z1KHOZgvv1ak+xyca4wPK7RTIg01MYSREAURQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0102MB3327.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(366004)(376002)(39860400002)(346002)(52116002)(6496006)(8936002)(8676002)(4326008)(478600001)(26005)(186003)(16526019)(4744005)(6916009)(7116003)(36916002)(786003)(316002)(83380400001)(86362001)(3480700007)(5660300002)(66556008)(66476007)(6486002)(66946007)(36756003)(2906002)(2616005)(956004); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam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RDi9JlcXK/mH8d0vZV1SRPOhEfZ3mGqUVA?= =?us-ascii?Q?FVoknjKN/USemmlePAumH3MBESnPo4Lug6NDcA6k5WZv9X9RG0tbxBLymV9n?= =?us-ascii?Q?eWszmKR2ab7AiQ/Db9By0oZfwNpkosDQyfl8fQgEMRARhfBIUC7Tcko7ooBO?= =?us-ascii?Q?Y4eV?= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-AuthSource: VI1PR0102MB3327.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 14:00:13.8079 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-Network-Message-Id: bde4c413-943e-46f2-a6a9-08d8b0b90eed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qY2iMOaYQClHu8/o+hy5YS7QPXey1awgi5McVZfRD4YjVGlTw6lc+oLAG58uo1L/8gcBl6Q7NlIEOBP7az/BxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR01MB6447 Received-SPF: pass client-ip=40.107.22.109; envelope-from=e.fraga@ucl.ac.uk; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=O2zqEwPG; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: 6F3469403AE X-Spam-Score: -4.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: xm/o5GcynDxG On Monday, 4 Jan 2021 at 13:43, Uwe Brauer wrote: > The example in this link is ok, also the output (the result of the > ledger operation) is not very nicely formatted. ledger does allow you to control, in detail, how the output should be formatted. The default output is suitable for a console display but you can modify this through appropriate arguments to the ledger command line via babel. For instance, I have this line in my org file for generating a balance of my assets: ,#+call: year2020[:cmdline -V --format "%-20A %14T\n" bal --flat assets ]() where year2020 is a ledger src block which covers my 2020-21 tax year. You will need to look at the ledger documentation, which is intensive, for how to specify the format string. Ledger does come with an Emacs info file: (ledger3) Format Strings -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.4-166-g291993