From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?andr=C3=A9s_?= =?UTF-8?Q?ram=C3=ADrez?= Newsgroups: gmane.emacs.bugs Subject: bug#61432: 28.2; [PATCH] viper-init: disable face support Date: Sun, 12 Feb 2023 17:54:45 +0000 Organization: bien.comun.org Message-ID: References: <83357cjjp4.fsf@gnu.org> <83zg9ki2qj.fsf@gnu.org> <83r0uwhwd4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11400"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61432@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 12 18:56:23 2023 Return-path: Envelope-to: geb-bug-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 1pRGaN-0002i2-9e for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Feb 2023 18:56:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRGa9-0008U4-U3; Sun, 12 Feb 2023 12:56:09 -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 1pRGa2-0008Q8-Sr for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 12:56:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRGa2-0003vl-1M for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 12:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRGa1-0003IJ-U3 for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 12:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?andr=C3=A9s_?= =?UTF-8?Q?ram=C3=ADrez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Feb 2023 17:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 61432-submit@debbugs.gnu.org id=B61432.167622451712560 (code B ref 61432); Sun, 12 Feb 2023 17:56:01 +0000 Original-Received: (at 61432) by debbugs.gnu.org; 12 Feb 2023 17:55:17 +0000 Original-Received: from localhost ([127.0.0.1]:46627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRGZ4-0003Fz-B7 for submit@debbugs.gnu.org; Sun, 12 Feb 2023 12:55:17 -0500 Original-Received: from mail-mw2nam12olkn2044.outbound.protection.outlook.com ([40.92.23.44]:43010 helo=NAM12-MW2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRGZ2-0003FQ-LK for 61432@debbugs.gnu.org; Sun, 12 Feb 2023 12:55:01 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PveaUSXgdU1bMkgl1Kkrvsgzlru/dtHN/JD09qqcTxFMARzqFPdua3tsn6s0souq8kswNrw5twHIfZUTvZRMqUWV2eJMmV/dZz8kZiy0NumGxpYsXkucss9OD7PyE/aDqR4OlUlcxB7L7fQiA/mtHaYwLajbke3CSDy/HDAiDMdtmxitXXZpX19iQRAJbVq93Jj/P3T/aMSl26dzAO6YjB/spcCfHJBYyAyEu+IZRwhkf5NUZTmO211Z7OuS4yHtlby1dVsRqGlWzMehclFmyo2RrPDZ4x5tPlvPQmA4+bBrCXSvBToJ6hjCXojS4oEElEQ1CzjFet0A4XQ14kNJoA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+Jn7wf2hjt7dHaObUjIxE+MRFV4vYMZqfuXTvA07O5E=; b=bhfUupzRQxJLFchNZQkLj90b1phHyFE3AdNVZDA7jS4Y62S/7vf6Gim960H0wb2KHhtxNF+GraAyGBffwiAb97x2EUmNKD8E40rCQ1T5KGAxxIeCD5bNvLsu0hq8r7sqhG0fH8ErClX/SvSnUMoAPee+ud/Y8jDtY00Azund4mGTbFaaugKQ3+z0xtm9ufw09qJh6dnPudEEpqnGeHfWU7CIuQH+EbgbNDkEFSIvI4yBZjT4cUDzbM7EzPbqJGpzUMABrDny3rNxmvJrosmIRifW9F0mnVC90dCRMJs5htAb/ArigJSbLGVHErmobqGLCdHCZvYMLx0SQbSSs1Aqng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Jn7wf2hjt7dHaObUjIxE+MRFV4vYMZqfuXTvA07O5E=; b=N5dFDWhj3Q25DeivIhz53vvr77PL+UytOIjrfwgRwCNx6bA7X9ymkU6CddX4wCScnM9EeYnNcUdbklLKGMnb34wV7APYfYeDhoz4q8Z73gRaIWjxJTxBDCzVJPzAshmKlinfMAGp29wzk4aL6dqgvs00hu39C449mAIBJBKVXYA2qubuiPFJ5gBdVwwc1vW3mzVmuDel4dIH52juEeamCRScAjNfUeK+T2H74ldfqv/aIRd2tU/0MaB+dk4bfvNucG5yPrxJSlwopPrbLREFdjQaQZWfg5gD324xO679uvRtEHZLpVkIJ6POObeDlcSNC72JJVH9PwWq3hhuCvRXdg== Original-Received: from SJ1PR12MB6363.namprd12.prod.outlook.com (2603:10b6:a03:453::9) by MN0PR12MB6001.namprd12.prod.outlook.com (2603:10b6:208:37d::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.22; Sun, 12 Feb 2023 17:54:53 +0000 Original-Received: from SJ1PR12MB6363.namprd12.prod.outlook.com ([fe80::47ba:5e78:d455:162b]) by SJ1PR12MB6363.namprd12.prod.outlook.com ([fe80::47ba:5e78:d455:162b%4]) with mapi id 15.20.6086.021; Sun, 12 Feb 2023 17:54:53 +0000 In-Reply-To: <83r0uwhwd4.fsf@gnu.org> X-Attribution: INKA X-TMN: [nF6TrLbshm21BsdVfooQTt7/ueEr2ZCA] X-ClientProxiedBy: SCZP215CA0003.LAMP215.PROD.OUTLOOK.COM (2603:10d6:300:50::7) To SJ1PR12MB6363.namprd12.prod.outlook.com (2603:10b6:a03:453::9) X-Microsoft-Original-Message-ID: <865yc6py56.fsf@hotmail.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PR12MB6363:EE_|MN0PR12MB6001:EE_ X-MS-Office365-Filtering-Correlation-Id: a538de37-4429-4201-ac9b-08db0d223e96 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qVdJI0k6ciODB4RnlptOl0y0rH6DzAwECkSVv2Tpdm9JUoHKKTJDTJz10ACZkUV5Ayp9RMR0gztGAuAYRga+ZgUio+DD950T74npQs2hB6g3dOH+FWfbtHxoUCWI8P+im2PiM6HrBnBfg9iHbCm95pIUufkRdmEdMDhG4yWk2lrSZ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g/JqJy5yNW25dkS+Nu6UmpT50VkN4gwhAhJzpf9JHXSSNnBVbaY1jEyJkKkcvnCSPIhoTiEWsL0v4H/3d/eGpG6mueifkUsLrnyzuwSQVwplaQbjRHTHtyXzKgYndr+kJ7M2DEzarQvTvq0Qem9KAdaV9rqbNDnexk8iIPhGhx8JvQ9Zyob4nN0h9kqKfFCqq1N1rcEpjXVMlKWPutgBLz/ew+8ZcCddBLPUy8qoJhrVyiUe1BNxE7rTxyp2JpYsOCmRo03Z++6QjS30ZMyfcC Ws8WI7Nmj/xgqGwCpA2BYeg3wK92dxe8z35IYQ0BrtgpNs8RpQ5ASOD4ix1GdglipuJgf06EhgNrYaH+IvFbfbqIWLyzkeLaGd X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-71ea3.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: a538de37-4429-4201-ac9b-08db0d223e96 X-MS-Exchange-CrossTenant-AuthSource: SJ1PR12MB6363.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2023 17:54:53.6761 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6001 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255430 Archived-At: --=-=-= Content-Type: text/plain Hi. Eli. >>>>> "Eli" == Eli Zaretskii writes: Eli> The easiest one is this: (require 'viper-init) (setq viper-minibuffer-vi-face Eli> viper-minibuffer-emacs-face) Did you try that? Yes. without success. Eli> What is the "right behavior"? The right behaviour is staying as If it were an 'emacs -Q'. minibuffer faces should stay as by default on vanilla emacs. Eli> Which face do you want to avoid seeing? I would like minibuffer faces stay as vanilla emacs when activating viper. [...] Eli> Anyway, the above is just a hint: how you can arrange for the viper faces do whatever you Eli> like. Thanks. But I have not being able of having the faces on minibuffer not changing after activating viper. What about a oneline patch? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=patch-viper-cmd-optionally-disable-minibuffer-faces.patch Content-Description: mypatch diff -u /tmp/viper/viper-cmd.el.bak /tmp/viper/viper-cmd.el --- /tmp/viper/viper-cmd.el.bak 2023-02-12 17:45:05.775987386 +0000 +++ /tmp/viper/viper-cmd.el 2023-02-12 17:06:44.589089504 +0000 @@ -564,7 +564,7 @@ )) ;; minibuffer faces - (if (viper-has-face-support-p) + (if (and (viper-has-face-support-p) (not (and (boundp 'viper-disable-face-support) viper-disable-face-support))) (setq viper-minibuffer-current-face (cond ((eq state 'emacs-state) viper-minibuffer-emacs-face) ((eq state 'vi-state) viper-minibuffer-vi-face) Diff finished. Sun Feb 12 17:45:44 2023 --=-=-= Content-Type: text/plain Best Regards --=-=-=--