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.bugs Subject: bug#68602: 29.2; describe-language-environment fails to specify default in its CR Date: Sat, 20 Jan 2024 19:54:48 +0200 Message-ID: <83ttn7sxef.fsf@gnu.org> References: <871qack0p0.fsf@posteo.net> <83y1cktpii.fsf@gnu.org> <87v87ohsgf.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12555"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68602@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 20 18:56:16 2024 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 1rRFZo-000379-7i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Jan 2024 18:56:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRFZa-0004Tv-2r; Sat, 20 Jan 2024 12:56:02 -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 1rRFZY-0004Td-97 for bug-gnu-emacs@gnu.org; Sat, 20 Jan 2024 12:56:00 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRFZW-0003hX-RT for bug-gnu-emacs@gnu.org; Sat, 20 Jan 2024 12:56:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRFZZ-00083i-ND for bug-gnu-emacs@gnu.org; Sat, 20 Jan 2024 12:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jan 2024 17:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68602 X-GNU-PR-Package: emacs Original-Received: via spool by 68602-submit@debbugs.gnu.org id=B68602.170577335330960 (code B ref 68602); Sat, 20 Jan 2024 17:56:01 +0000 Original-Received: (at 68602) by debbugs.gnu.org; 20 Jan 2024 17:55:53 +0000 Original-Received: from localhost ([127.0.0.1]:35615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRFZQ-00083I-MI for submit@debbugs.gnu.org; Sat, 20 Jan 2024 12:55:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRFZO-000836-W6 for 68602@debbugs.gnu.org; Sat, 20 Jan 2024 12:55:52 -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 1rRFZG-0003dp-HO; Sat, 20 Jan 2024 12:55:42 -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=lzi9Pw96fCC3FYwCVUgU+uV4Yc5RN1Ko/8CiqRPtw4g=; b=LjQAAp/QzEXh xRQcoXbi7wT5+H6/jJG23Ud0XWSg8Ucbd1PqOf3ya8P8OE9lT2qGoakuzB1ArHf3+qoIKF8EnecpK 8hyZGEtJWmA9VEuUHMRnhUTIwzLOLMa7VJ7LAqi3ZKsWStRoYKegloxjDiekAyjxR8l8z2z0chOah onB6nzIpQKjrEjlhtmmgctLScS6z/bbw7wUp5rbj2fKx9cloZ7+IILolrzNUsEfbzHFhhc0nAnZlD e+rKMzrQ5F3nWP2Y6BNPjIJeuvQp04v1NQ1eHMFn326Xp7HxyqEh/yK2NacW8sDjnp8IgbTsGZmYa /LdLExAa30nWQEH4tF98Og==; In-Reply-To: <87v87ohsgf.fsf@posteo.net> (message from Thierry Volpiatto on Sat, 20 Jan 2024 16:37:04 +0000) 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:278618 Archived-At: > From: Thierry Volpiatto > Cc: 68602@debbugs.gnu.org > Date: Sat, 20 Jan 2024 16:37:04 +0000 > > >> From: Thierry Volpiatto > >> Date: Sat, 20 Jan 2024 05:56:11 +0000 > >> > >> > >> Its read-language-name specify default in prompt but not as DEFAULT arg. > > > > Thanks. But why is that a problem? > > Because Helm needs this info to handle DEFAULT, it can't be aware of the > code running after the completing-read (read-language-name in this > case). Can you elaborate on this? I don't think I follow (I don't use Helm). > Also using the DEFAULT arg of read-language-name save you the > need to compute DEFAULT just after: > > (if (null language-name) > (setq language-name current-language-environment)) > > This piece of code can be removed. Right.