From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: feature/android 2dcce30290d 1/2: Update Android port Date: Tue, 04 Apr 2023 11:03:43 +0200 Message-ID: <87jzyshvdc.fsf@gmail.com> References: <167656305689.22545.15995380238167740855@vcs2.savannah.gnu.org> <20230216155740.BD00FC13916@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36859"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 04 11:04:39 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 1pjcak-0009Ne-TQ for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Apr 2023 11:04:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjcZx-0004tk-AL; Tue, 04 Apr 2023 05:03:49 -0400 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 1pjcZv-0004tX-CL for emacs-devel@gnu.org; Tue, 04 Apr 2023 05:03:47 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjcZt-000840-Ts for emacs-devel@gnu.org; Tue, 04 Apr 2023 05:03:47 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id v1so31984832wrv.1 for ; Tue, 04 Apr 2023 02:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680599024; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from:from :to:cc:subject:date:message-id:reply-to; bh=G7tB1tqwj6pPvLo9kTjSZEvrNBIAtSu1VCJ/bnLCv6Q=; b=azO3fgf/LV83p/WWXfPZCJb7LHI2qwfRfaHPBBbBIfdGcg8sO8+8Gv+6vawfNvAgZY xgBt1KkZF9Gy7xzbL/A1ih/Y83eMqXVQGRs0G/wjSLwpaHV7gw0kntipJQg8DqmeWoYg JSeS0N70QhRV+ezNoH5Gkl2YrlaJQ7XPJoihrQpjreb3bY82B9fJxPRo76pVKwEjsmGC dwTtotrxzeVRVrMnD1cdXrWjkrNaYq1KV84Qy0BvMfoDv6BYox8q+Kf9h4f085tEsdVD y8HX8sRNKc6dtOo0neykToi9hHpa1UvzO8MXG0wFFDeH6GpCTgYn/VWMPSSrJFd19TSh QMwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680599024; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=G7tB1tqwj6pPvLo9kTjSZEvrNBIAtSu1VCJ/bnLCv6Q=; b=rmBXxwu3owS8Dfn82uQn/bQMjBcwe0eRvUl/2p2Ct9bKPabseKGFTb56KLx7ANseKP rOCnOmvKKJ+/R9MNdEryNuutk3dbpbwl9dNe3bdm0D1T842EYF1n6G8XZpll1EZIRJpX oHFxppDLDoO6nc6ob3VS8ohvUOt5w/L6z4XV+Byu36N3J1BfflPRBGA7UCU/N30+KpbD Qtn4T56/pA1sPlB9FXDAspld/7kixaEdQZeRsDhjF5lnOOl0cHlcrcGTuW4eEH4BMdmT qLSCCi6dDea8fk5LRCrWkX6P1FADLXkmtcbOb9oyeQJkJ1674z/y4wbcZ14FMGbXcNeq xAuA== X-Gm-Message-State: AAQBX9d+l+3xBUvqbBJ7TICkMq8EnfJ2duTaGDrNIpeRvATtMhVh8iTB SdUn2ChuvuVpludFMx4hOjHG3yz/M8U= X-Google-Smtp-Source: AKy350ZTKBUCs4VSYo4RKlRfXoHoX0VDmtrjd27Jt0Q1b6FeXJ/Qhb9SIXg3JL05+Yp7B3s2yB/+9w== X-Received: by 2002:a5d:6389:0:b0:2cf:f454:95d2 with SMTP id p9-20020a5d6389000000b002cff45495d2mr1078031wru.12.1680599024066; Tue, 04 Apr 2023 02:03:44 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id p1-20020a5d68c1000000b002c59f18674asm11844501wrw.22.2023.04.04.02.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 02:03:43 -0700 (PDT) In-Reply-To: <20230216155740.BD00FC13916@vcs2.savannah.gnu.org> (Po Lu via Mailing list for Emacs changes's message of "Thu, 16 Feb 2023 10:57:39 -0500 (EST)") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=rpluim@gmail.com; helo=mail-wr1-x435.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:305096 Archived-At: >>>>> On Thu, 16 Feb 2023 10:57:39 -0500 (EST), Po Lu via Mailing list for = Emacs changes said: Po Lu> diff --git a/lisp/subr.el b/lisp/subr.el Po Lu> index f4f041ff32d..8e594fafa8c 100644 Po Lu> --- a/lisp/subr.el Po Lu> +++ b/lisp/subr.el Po Lu> @@ -3424,6 +3424,9 @@ an error message." Po Lu> (minibuffer-message "Wrong answer") Po Lu> (sit-for 2))) =20 Po Lu> +;; Defined in textconv.c. Po Lu> +(defvar overriding-text-conversion-style) Po Lu> + Po Lu> (defun read-char-from-minibuffer (prompt &optional chars histor= y) Po Lu> "Read a character from the minibuffer, prompting for it with = PROMPT. Po Lu> Like `read-char', but uses the minibuffer to read and return a = character. Po Lu> @@ -3438,7 +3441,15 @@ while calling this function, then pressin= g `help-char' Po Lu> causes it to evaluate `help-form' and display the result. Po Lu> There is no need to explicitly add `help-char' to CHARS; Po Lu> `help-char' is bound automatically to `help-form-show'." Po Lu> - (let* ((map (if (consp chars) Po Lu> + Po Lu> + ;; If text conversion is enabled in this buffer, then it will= only Po Lu> + ;; be disabled the next time `force-mode-line-update' happens. Po Lu> + (when (and overriding-text-conversion-style Po Lu> + text-conversion-style) Po Lu> + (force-mode-line-update)) `overriding-text-conversion-style' doesn=CA=BCt exist in builds that don=CA= =BCt compile textconv.c, such as MS-Windows. Perhap use `bound-and-true-p'? Robert --=20