From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gabriel do Nascimento Ribeiro Newsgroups: gmane.emacs.devel Subject: Re: [PATCHES] Minor patches for Remember, Minibuffer and Tab Bar Date: Tue, 05 Jan 2021 20:52:06 -0300 Message-ID: References: <87o8i3i523.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12823"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 06 01:08:06 2021 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 1kwwMw-0003Ff-OL for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Jan 2021 01:08:06 +0100 Original-Received: from localhost ([::1]:34782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwwMv-0006xl-RR for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Jan 2021 19:08:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwwMB-0005rZ-5H for emacs-devel@gnu.org; Tue, 05 Jan 2021 19:07:19 -0500 Original-Received: from mail-dm6nam12olkn2017.outbound.protection.outlook.com ([40.92.22.17]:52577 helo=NAM12-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwwM8-00012M-Ji for emacs-devel@gnu.org; Tue, 05 Jan 2021 19:07:18 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j6Wj+EfT3UB9t8JTZgIvbtGkthaM5T+jqsyY73xF3yVb0wgnQF9DcHGXvBQxl+5nRMBLieqPeF1fI/FhbjElyMXWJqwE6PsJwzBvnBlyL4qvqejN81AAk+1dgXqGqHaSsdmy4u8d0wZdASulkurTQ3oG4Sl6FVnV9qjXZrjrZmJ3mDzO2/ol4fbalkwASV4pN0ocqzUGPydaoFN5nbZb7EQ6fpDjGtDowqBC//KAieSuWNREQHa2ah+x+rZIuUh5LF+XJI85d5q/7kRyz3veJPSa9k2o7uxTCoUkRlMaih8UySPlJ1+8nLIzIk9YbprrJ9E2Ckn4llTuvbF/Am49Gw== 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-SenderADCheck; bh=bK885XUAPNZ1UpBR4xQk3RcHaeq8lUd98CALOtAgVII=; b=QkJwrTyEI67L3p9gJyqgLWWjv49r5NHYpPS4RVj0KJK4hXqifkr0AZHP7ijcORPsUBuRIdMNU/LIoZXRm6pZg9zkwot8jAGp90iOryTlK7Q8HIr78kpKArO32G0CsZL+sGPxr9BKcKpRFTwMdXu/6fGqrhLlm9EJ7g2nJ+QaH2X74j7FoxQu8bJqjdF7oqnkURfgccnLjjs0psKBJrL0Gbbgym9QXX9fCfefYMbIptGAx49pBrcVGUq6FRyuDLu1eDvSVHSF5LcpS3Lz387REG2tb+TuRMlBe+ZbyA1WbhZfDCvJ8p+ZTzKvBEbMmYlXHFv96s32jDheevWIrSTp9Q== 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=bK885XUAPNZ1UpBR4xQk3RcHaeq8lUd98CALOtAgVII=; b=A4iINO5MUmSJeJGMz2aniJZld7cSzW9jWW6OULmKOr0yghe0bY7rkl0EVZNbSi7avc29JptYGpFbUBzT3FApccpge3/DTfvloY7H93iMCqgmjJfQOVdnyz1JFlaAhx5cPPhTDWDvkep+4G4V9TD96xuC1NV4KUe/0FmxrrB8ckmbpx7HMpPzz4lwaVWTIOfAB2hNpitZkUgkosadjDk+F354mogxqnPJ+KixFDzzcLukkrFyBDMYeudZpUOfTyI59PNIlWmcanEIDRN518M+zc3CSZ9bJdeS1esh/VonlrCgDV2wD7VD4LHuO5O7CME28v8CK40XSNd1y+Tp3KFvIw== Original-Received: from DM6NAM12FT059.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc64::49) by DM6NAM12HT190.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc64::177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.4; Tue, 5 Jan 2021 23:52:11 +0000 Original-Received: from CH2PR01MB5879.prod.exchangelabs.com (2a01:111:e400:fc64::4c) by DM6NAM12FT059.mail.protection.outlook.com (2a01:111:e400:fc64::257) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.4 via Frontend Transport; Tue, 5 Jan 2021 23:52:11 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A2FDFE9969B483E457ACB1C87120D45DC97C338E45286F861CDADB0E39F4A34F; UpperCasedChecksum:507A9EDF4CB2E507F38846A4E8FA5B050F8782BCDD3A9D841BEB1465E11468B1; SizeAsReceived:7505; Count:45 Original-Received: from CH2PR01MB5879.prod.exchangelabs.com ([fe80::d51d:8cbe:370a:39ac]) by CH2PR01MB5879.prod.exchangelabs.com ([fe80::d51d:8cbe:370a:39ac%7]) with mapi id 15.20.3721.024; Tue, 5 Jan 2021 23:52:11 +0000 In-Reply-To: <87o8i3i523.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 05 Jan 2021 20:58:44 +0200") X-TMN: [8miVf/VEUwq1z/PGcD9arV1a4+LhAqSZqlp3m9Mx8Wkd58j6mWhLqsqIRPKgSWVS] X-ClientProxiedBy: CPXP152CA0021.LAMP152.PROD.OUTLOOK.COM (2603:10d6:103::33) To CH2PR01MB5879.prod.exchangelabs.com (2603:10b6:610:3c::12) X-Microsoft-Original-Message-ID: <87r1mzc57d.fsf@hotmail.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from precision5540 (2804:431:c7f2:ad93:f07b:5a36:9de0:723a) by CPXP152CA0021.LAMP152.PROD.OUTLOOK.COM (2603:10d6:103::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Tue, 5 Jan 2021 23:52:10 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 05e64022-83c9-459d-dac7-08d8b1d4eb8b X-MS-TrafficTypeDiagnostic: DM6NAM12HT190: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JQ8gHkuyftJDYAZbrEtAyF4JFzvdqTrm4uJ6EZBGpUMq4VccI2ZTnrobmGp3yYHlgjYevzCTW4nlXnUCzAmaKGV3Hxut5c6fdou5UykDWZCBlPE3TBSSz102PyE2kv8gGBF3LUQH09rgBla8diYKZ6ikRrkY/sb9hT8t8QGdplifiJMwgTDzbZp+u/VT183D68+2uQKmDSEM3dywiEepiQ5H6l+NSzvb2rTCLiFLwc+pByip7fWYLNyQizk8PaFi X-MS-Exchange-AntiSpam-MessageData: VbPl2Zoh3bB/kdHbBxfbRjhrg8DHZ1ibuxVUOhnFL2AxzArqE0R+zQkDprcTMx28CIYDkdVLsrXRscydGAQq6bB7WXP9fMhGRdgGF35i/xJRiaXmPLlbEsNh/0F9bEux8oJLhxTCERPSgtVifa/hKCItGgpKGWBH/wlbbOctnNEEp3QZBHCKkbwdbOydz98UtpRXyygXGeURJ10cdyUmJA== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2021 23:52:11.5509 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: 05e64022-83c9-459d-dac7-08d8b1d4eb8b X-MS-Exchange-CrossTenant-AuthSource: DM6NAM12FT059.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM12HT190 Received-SPF: pass client-ip=40.92.22.17; envelope-from=gabriel376@hotmail.com; helo=NAM12-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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.23 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" Xref: news.gmane.io gmane.emacs.devel:262550 Archived-At: Juri Linkov writes: >> Here are some suggestions of minor patches. Hope it's useful in some >> way. >> >> This patch: >> - adds a trailing space to minibuffer depth indicator, so it has some >> distance from minibuffer prompt > > It hard-codes the space character, but it would be more user-friendly to > allow customization of its format string with a new user option with such > the default value: "[%d]". > There is already 'minibuffer-depth-indicator-function' for this customization, actually. My proposal was just to have a better default value by adding a new face and by adding a single space between the depth indicator and the minibuffer prompt. >> This patch: >> - adds a new option 'tab-bar-history-buttons-show' to control >> visibility of tab-bar-history back and forward buttons, similar to >> 'tab-bar-new-button-show' and 'tab-bar-close-button-show' > > Thanks, now your patch is pushed to master. Thank you! > >> This patch: >> - adds a new option 'tab-bar-tab-name-format-function' to let user >> specify a custom function to format the final string of tab >> name. This would be useful in many cases, for example, to add custom >> properties/faces to final tab name or to trim spaces in case >> 'tab-bar-rename-tab' has trailing spaces. It could also fix a trailing >> space when 'tab-bar-tab-hints' is set to true and >> 'tab-bar-tab-name-function' returns an empty string > > Now a more general option 'tab-bar-tab-name-format-function' > is pushed to master that allows easier customization for the > format of tab names. Thank you!