unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Thierry Volpiatto <thievol@posteo.net>
Cc: 68602@debbugs.gnu.org
Subject: bug#68602: 29.2; describe-language-environment fails to specify default in its CR
Date: Sat, 20 Jan 2024 19:54:48 +0200	[thread overview]
Message-ID: <83ttn7sxef.fsf@gnu.org> (raw)
In-Reply-To: <87v87ohsgf.fsf@posteo.net> (message from Thierry Volpiatto on Sat, 20 Jan 2024 16:37:04 +0000)

> From: Thierry Volpiatto <thievol@posteo.net>
> Cc: 68602@debbugs.gnu.org
> Date: Sat, 20 Jan 2024 16:37:04 +0000
> 
> >> From: Thierry Volpiatto <thievol@posteo.net>
> >> 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.





  reply	other threads:[~2024-01-20 17:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-20  5:56 bug#68602: 29.2; describe-language-environment fails to specify default in its CR Thierry Volpiatto
2024-01-20  7:47 ` Eli Zaretskii
2024-01-20 16:37   ` Thierry Volpiatto
2024-01-20 17:54     ` Eli Zaretskii [this message]
2024-01-20 19:33       ` Thierry Volpiatto
2024-01-21 18:26         ` Thierry Volpiatto
2024-01-27  9:47           ` Eli Zaretskii
2024-01-27 12:31             ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83ttn7sxef.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=68602@debbugs.gnu.org \
    --cc=thievol@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).