From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Changes OK for Emacs 29? Date: Sat, 21 Jan 2023 10:24:14 +0200 Message-ID: <83zgacl2hd.fsf@gnu.org> References: <87cz797cyu.fsf.ref@yahoo.com> <87cz797cyu.fsf@yahoo.com> <833585nxn9.fsf@gnu.org> <875yd07mtf.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19159"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 21 09:25:04 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pJ9BQ-0004rs-BJ for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Jan 2023 09:25:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJ9Aj-00079U-4I; Sat, 21 Jan 2023 03:24:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJ9Ad-00077T-C1 for emacs-devel@gnu.org; Sat, 21 Jan 2023 03:24:16 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJ9AZ-00037p-TR; Sat, 21 Jan 2023 03:24:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OualL3+qehYSbRVG2KHziPUb6IaBG3CdKjAy7cl+6zI=; b=ewsHJE45C1vI g4JFyOhzD9eH5Svxp3UUDGp5ro+tFes/uiiPvQyg738NoMizq7PFjpDTMpuiq0jyGcT0LBafjFPcQ 3QlMkyJRkPReJ6O5pxrBrYp/Hj+LgSjTMRLBTFnVn1UhmSks1S1Iy4nEmtr973SvOxibvUL8xf9IZ lTuE8LuMuwj1+vygpuljhWkbjGVbYJQKBFCZFFjkF6U77TQk8jzmrHA3oc147hHfayiKE0QV+VqNv qro5M9bXuViUsZFkz+PNdm5HNmFK5J4SwxQhqC/s47WZz80w4+9CHi97ARFFQjgumZfiNgvAmzaDM U5vd/uHyOKikDr05KMz11A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJ9AZ-0006D1-CF; Sat, 21 Jan 2023 03:24:11 -0500 In-Reply-To: <875yd07mtf.fsf@yahoo.com> (message from Po Lu on Sat, 21 Jan 2023 08:28:44 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302589 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Sat, 21 Jan 2023 08:28:44 +0800 > > Here are the changes. It's always possible to tell backspace apart from > delete, and RET from return on Haiku. > > diff --git a/lisp/simple.el b/lisp/simple.el > index 4551b749d56..a38426060e0 100644 > --- a/lisp/simple.el > +++ b/lisp/simple.el > @@ -10317,7 +10317,7 @@ normal-erase-is-backspace-setup-frame > (if (if (eq normal-erase-is-backspace 'maybe) > (and (not noninteractive) > (or (memq system-type '(ms-dos windows-nt)) > - (memq window-system '(w32 ns pgtk)) > + (memq window-system '(w32 ns pgtk haiku)) > (and (eq window-system 'x) > (fboundp 'x-backspace-delete-keys-p) > (x-backspace-delete-keys-p)) "Always" as in "even on TTY frames"? If so, why haiku is tested only for GUI frames? Anyway, this change is fine for the emacs-29 branch. Thanks.