From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nick Helm Newsgroups: gmane.emacs.help Subject: Re: Advice with undo config Date: Thu, 22 Mar 2018 09:27:54 +1300 Message-ID: References: <86bmfhsn9g.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1521664134 9428 195.159.176.226 (21 Mar 2018 20:28:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2018 20:28:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (darwin) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 21 21:28:50 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eykLq-0002Ms-6A for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2018 21:28:50 +0100 Original-Received: from localhost ([::1]:57236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eykNs-0001KQ-UN for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2018 16:30:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eykLC-0007lX-LA for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 16:28:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eykL8-0001kG-Mp for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 16:28:10 -0400 Original-Received: from mail-sy3aus01on0101.outbound.protection.outlook.com ([104.47.117.101]:18688 helo=AUS01-SY3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eykL6-0001gB-Q4 for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 16:28:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1ajFz5/Py3OC3lnBUH6980fo/iT1qz9Mck0lVgPdZ4Q=; b=qyFjf8RO8U7MjtyQAWTVbT2uK3JZl1YUK3G4DXpjrrMkOqXVWxFNW1Ea0oB6aBxwKGoZgGWAes6wJdAIk1h+nyOMwWVZPQW8ek72kdVsEm/YvbKaawo/c0doePJ2UiD1XrhSHY+10KxUMGy0dcW39Ks6R0xL7eIo+k5TUKBR8PQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nick@tenpoint.co.nz; Original-Received: from jupiter.local (125.239.174.80) by ME2PR01MB2897.ausprd01.prod.outlook.com (52.134.209.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.609.10; Wed, 21 Mar 2018 20:27:59 +0000 In-Reply-To: <86bmfhsn9g.fsf@zoho.com> (Emanuel Berg's message of "Wed, 21 Mar 2018 12:04:27 +0100") X-Originating-IP: [125.239.174.80] X-ClientProxiedBy: SY3PR01CA0105.ausprd01.prod.outlook.com (10.173.248.142) To ME2PR01MB2897.ausprd01.prod.outlook.com (52.134.209.14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3c184300-55dc-46f2-5d2c-08d58f6a3d48 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4604075)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:ME2PR01MB2897; X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2897; 3:gdRBe2ghNRTs92n3JcsJ6o68D9Ix+TAUXIce9zZXGSgvYS78FS5pzGsqAC3qArwyWg4NjltoBh2/ft0Zj3Cv4ZDeHTXNntpgltPIvr0suHEGuRu4OOrJJ1Rxf8QKad5kRVOXCXjDPrdj9K9lQVUNYuQg64/QwyuEO0SGaLI0AOr0rArRxCPFbA5OPJMoy04w0+Mk+rJEdFXh0DeC2vSJ8u3DNoeD8Ha3kuWPIxY/e/uvrLXjAtRN/Hiq3GEYO/0c; 25:wZtaIDk6lH9q73DQI75kiaDg9jrFXsyrMV0QLtXVLjx+rTFd0M4AZ1uAUMttrZV6NNU5mgtAj7fUvGjgRQyKN01AfLwaI8AYk7F2Kdbx4tFzveCvZVM/OrcJKv+hj4Nt98q4RqWvjcGRDNz6vpkgJsjUea9r7CDpL8C12bolXG1U9pSrP7PbN8hmhf4p1P+/x2GjB8hqCN/n9+UqfkughVoosRaOf9F/i94OB80EfrqntXLBqK/eWe1UAuXO4cBlcD0AV76e7ST93R1sbFOwH64XVS498CjJtQ2XCfvHaRZjIxRR4UQosNpiPr1juCAdbG9nfMw14ObsfxDuy5D5/Q==; 31:KOwvGHA6Bj6wKvYZL85tKw0oQ49jdE+3lMAyuPauaT0zWKATLuUeXGFv5/DaggjNE4N0JtMVZGY4LnJfK8u9IC1TJ0EPuoNDynBWsPSHmjys5Pc3+t4ftz6qsNFk83ix2I6QVt5we8HgZ6iG3m89bD8AXFMbbEk/3sRdhiqwhbobqaww+Pld09KNoOFoiOcc4WapRe0oDZWIGguUnIf+zm58JQt5bZ8C7eWXntwQs X-MS-TrafficTypeDiagnostic: ME2PR01MB2897: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231221)(944501326)(52105095)(10201501046)(3002001)(6041310)(20161123560045)(20161123564045)(20161123558120)(2016111802025)(20161123562045)(6043046)(6072148)(201708071742011); SRVR:ME2PR01MB2897; BCL:0; PCL:0; RULEID:; SRVR:ME2PR01MB2897; X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2897; 4:kllTMSEVqy4Jb5u+NGHZldwVHx9zcY2TzeTs/WXIqdZ98fMx9OZfXczkFWcO0d8rdIuhEoI/QATaOtLkyjAv6T3mcK0rqvzAFGu3WeJc2FVPuP03uFP8qmvzYW7Qt+eA7RyLjxzA/CA72j7n3Ieo5Y7P9NbnQiSU8+Y7/p9fjJ4i44GonE2mLcYaxyMyFbk7/V4GcGTvWOHnB0qKA9Du6nlPFdEFFtoqNwm2dMXQrEz/XB5SjI4mpJY4PNgzKfEMubNq2Kt1I3igyzb8CajekA== X-Forefront-PRVS: 0618E4E7E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(39830400003)(39380400002)(376002)(346002)(396003)(366004)(189003)(199004)(6246003)(53936002)(76176011)(74482002)(6512007)(6116002)(8676002)(229853002)(6486002)(3846002)(8746002)(50466002)(97736004)(186003)(446003)(8936002)(305945005)(7736002)(81166006)(81156014)(16526019)(36756003)(3480700004)(58126008)(47776003)(2950100002)(26005)(2351001)(5660300001)(6666003)(2361001)(66066001)(68736007)(6916009)(316002)(25786009)(59450400001)(2486003)(478600001)(6506007)(23676004)(106356001)(86362001)(386003)(52146003)(105586002)(52116002)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:ME2PR01MB2897; H:jupiter.local; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNRTJQUjAxTUIyODk3OzIzOmhDTVBzalllOTFabDIzaURGWHJFVEwvR0Qx?= =?utf-8?B?Y0NIcVdidStBV05YVVhteGljbzZwdDZ2Q0M5SDFYYmZiSXVkbnY0bEs2aEFE?= =?utf-8?B?UnBP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0xrTE2Y8VHfFl1AeaWxbr+cU1pXIBiEtkb+64O+c9GDeAdb1w5/pVJ0xHFem7EhRDck0ZKTWKt+cuRGATmVKCXzr5g+1qAoA/yx9GnRCgRK+HeiO0G24oneK3eleWYCI6bJ8T7Ef/ecffa+THlC20mFhuFRBp6X/QzZpuWvdshCNoSYb0EBKXP7xhLzfwxIexztlRvJRg59f1DI7X32RtPSulyi1JJrWWDXzZ+mYP1xoD99F2/chYe6aiKx/PQ3MJUDIXN8vyyV85FfNDre+32e/nnDOyBeac49X0A3uDFOGbemdKQHaupASNadQT2rwbf+yhc0ehEvRKfoLb5kzGQ==; 5:FLJvef0i4cf24huYmHxWmbHxpGG8n3BSAcI1uNvnY3xJ35laWqq7dN4nlsXWl0yKSAsMc8dOYDa+/9aSoKDtnX7mkcB146W1CPEj8lm546EMYxf0eiZ0Ykw8ViWG/94IjIJtPyD2GHyt2yZD03csuucDzX2Ci0O9fR3XPWtRamI=; 24:hroKdsq8PAt2Ge3Nso8dcfn0V4i23hKkTv9srTeWs+6TRf7cXvTr5OjcU12DiEobM052EBdvfiEcIdyWW0KZy3LJFB9T5d+TJNzchSod6Dk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2897; 7:XV19G8liu3ZRIfXPVauO6A5q7K3cl28PjjRqI1utBQMGFgd78+940dEejksvPpgYre1kSlU+sUjrY7Bkf+iTzPI7UTzQU3M1WVJNaLbKYoOXHqxGBlpXA46qODO0yJYbip6W6r5gFPLzenLN4S/8KtFnHEBvNKR1PuWg+5VBaGCM05JNwKJ9el37LeJwCosAIa0WFwiMEU/CpvLbRsnstrk98KeZa4hYe+UB8CrvBd0ap9ZkRye3Hz3D3gLolgQV X-OriginatorOrg: tenpoint.co.nz X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2018 20:27:59.8089 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3c184300-55dc-46f2-5d2c-08d58f6a3d48 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: ed686f26-19e8-407b-91d0-7364c1c6f5cf X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME2PR01MB2897 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.117.101 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116248 Archived-At: On Wed, 21 Mar 2018 at 12:04:27 +0100, Emanuel Berg wrote: > Nick Helm wrote: > >> (setq undo-limit (* 16 1024 1024)) [...] >> >> will there be any side-effects I should be >> aware of? Are these numbers reasonable? > > There should not be any side-effects save for > the increased storage, which is what you want, Thanks.=20 > but is it reasonable to have >16 MB of undo > data? A better question is probably "is it > reasonable to do, and then undo, that much"? In an ideal world, wouldn't undo be unlimited? Some commands can bump into the default undo limits pretty quickly =E2=80=93 org-table-delete-column is a good example. In those situations, the count of "do" is 2 and you've already hit the limit. Isn't it reasonable to expect a bit more than that?