From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Wordingham Newsgroups: gmane.emacs.help Subject: Re: Help for tpu-edt Legacy Users Date: Sun, 20 Feb 2022 15:28:53 +0000 Message-ID: <20220220152853.75974a24@JRWUBU2> References: <20220220113452.781a1145@JRWUBU2> <834k4tya18.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7044"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 20 16:30:37 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nLoAX-0001fw-EH for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 16:30:37 +0100 Original-Received: from localhost ([::1]:40458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLoAW-00081W-3I for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 10:30:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLo9D-000817-8o for help-gnu-emacs@gnu.org; Sun, 20 Feb 2022 10:29:15 -0500 Original-Received: from smtpq2.tb.ukmail.iss.as9143.net ([212.54.57.97]:33740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLo90-00052z-3P for help-gnu-emacs@gnu.org; Sun, 20 Feb 2022 10:29:04 -0500 Original-Received: from [212.54.57.111] (helo=csmtp7.tb.ukmail.iss.as9143.net) by smtpq2.tb.ukmail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLo8x-0002mD-Ld for help-gnu-emacs@gnu.org; Sun, 20 Feb 2022 16:28:59 +0100 Original-Received: from JRWUBU2 ([82.27.122.109]) by cmsmtp with ESMTP id Lo8xneJiwufb4Lo8xnnog5; Sun, 20 Feb 2022 16:28:59 +0100 X-SourceIP: 82.27.122.109 X-Spam: 0 X-Authority: v=2.4 cv=FOAIesks c=1 sm=1 tr=0 ts=62125e3b cx=a_exe a=lZfnwhydZ+7bl6OdZ0zTBw==:117 a=lZfnwhydZ+7bl6OdZ0zTBw==:17 a=kj9zAlcOel0A:10 a=oGFeUVbbRNcA:10 a=mDV3o1hIAAAA:8 a=NLZqzBF-AAAA:8 a=MDUV7eqb2Kpp9ANH8fEA:9 a=CjuIK1q_8ugA:10 a=_FVE-zBwftR9WsbkzFJk:22 a=wW_WBVUImv98JQXhvVPZ:22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1645370939; bh=WTvp9h37Q/MW4EquCcSLcnh7mZD9oIGPYFqSb9lY3M4=; h=Date:From:To:Subject:In-Reply-To:References; b=dPf2Qxeg+j1mKRhcFmsygHn3tUnIridjRaqfT2IPPV/hZFdF914h131cqoQ08Hnu4 9wJpucsNyCLUvpp1zdsUDbU70LFBTx0RX/Lrxn3gLIr90JcBuNqJPxsW1MVjFcCbTr EbExpAvb8aKOK5skHOsvRWoxErVFMPPiC+XqGh7gG4JwOQuKPOwlTETQZChK5YGHZx BUmUGUd/kcHKT1xlTHpAR0B1ksSp0/TYqhxLi2Jy/zJ80dDhpxPJR4lTn2Qf7QFshp pC6CLrk9UNC3mPKCey0oXEESjoJ2lSE/tD0g68NM+TEb2SAWYnqO8dGSpuuiuC0bo8 N3Hr96twQTzjA== In-Reply-To: <834k4tya18.fsf@gnu.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-CMAE-Envelope: MS4xfEyBftpvTuNNHpOKBGEhe8PD4ce5k6BlsVAYzxKJnxqIU3gVVpBFz4rftDkLvhmXSBANa76b5/crvu0mbydeAEmkzll5IgvlNt2hPfBIbcsie5nXc96D Sz9TO5fLSnZRyb6K3u/rHusCIoTAGyK1pwisRHa9pBho9atGv+s1dl92KGQp53KhtKGrm/5GcHUtHCemMhesARm+2sCU5k1RNFY= Received-SPF: pass client-ip=212.54.57.97; envelope-from=richard.wordingham@ntlworld.com; helo=smtpq2.tb.ukmail.iss.as9143.net 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136070 Archived-At: On Sun, 20 Feb 2022 14:53:07 +0200 Eli Zaretskii wrote: > > Date: Sun, 20 Feb 2022 11:34:52 +0000 > > From: Richard Wordingham > > > > For a legacy user who has been happily using the TPU-EDT key > > bindings, buffers and replacement commands for decades, where > > should I put the now removed tpu-edt and tpu-extras packages? > > (There are three files - tpu-mapper.el is not to be forgotten.) > > Should they just go in directory site-lisp, or maybe lisp/obsolete? > > I've currently put the versions from Emacs 26.3 in > > ~/.emacs.d/obsolete, and tpu-edt.el (the only one I've been using) > > is so far working fine in Emacs 28.0.91. I'm currently explicitly > > loading (function load) them, as I had been for previous versions > > of Emacs. > > These files were not removed yet, they are in lisp/obsolete. Ah, I misinterpreted the problem in my .tpu-keys, a file tpu-edt users are commanded to create on first use. The problem was that the line (define-obsolete-variable-alias 'GOLD-map 'tpu-gold-map "23.1") had been deleted from tpu-edt.el since 26.3. The file .tpu-keys makes frequent reference to it. Mine's picked up a lot of tweaks over the years to make it work on VT100, Sun and Windows keyboards for directly connected terminals and X-servers. I've therefore given it the guarded work-around (if (and (functionp 'version<=) (version<= "28.0.91" emacs-version)) (define-obsolete-variable-alias 'GOLD-map 'tpu-gold-map "23.1")) I need it to work as far back as Emacs 20.2, which I thinks predates the function version<=. I'd really like it just to check for GOLD-map not being defined as a variable, but I couldn't find the syntax for that. Richard.