[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated es
From: |
Eli Zaretskii |
Subject: |
bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping |
Date: |
Wed, 13 Sep 2023 17:50:26 +0300 |
> Date: Wed, 13 Sep 2023 14:08:01 +0000 (UTC)
> From: Spencer Baugh <sbaugh@catern.com>
> Cc: 65902@debbugs.gnu.org
>
> On Sep 13, 2023 09:26, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > I am not sure what you're suggesting. Can you show how the equivalent
> > of:
> >
> > emacsclient --apply message-mailto -- %u
> >
> > would work with that design?
>
> emacsclient --qeval '(message-mailto %u)'
>
> I don't think this can work in general for arbitrary user input: what if %u
> is replaced with something
> that contains parentheses?
They are inside '..', so the only one who'd care is Emacs, not the
shell. In which case it's the job of whoever provides the value for
%u to handle that.
And anyway, how is that different from the same problem happening with
your suggested --funcall or --apply? they will bump into the same
issues.
> Let's not do that this time, okay?
>
> Agreed, I think we reached a consensus in that bug and now I am implementing
> that consensus.
AFAIU, there was no consensus reached there, so I'm unsure what are
you alluding to here.
bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Eli Zaretskii, 2023/09/13
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, sbaugh, 2023/09/13
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Eli Zaretskii, 2023/09/13
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Spencer Baugh, 2023/09/13
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping,
Eli Zaretskii <=
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Andreas Schwab, 2023/09/13
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Spencer Baugh, 2023/09/13
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Jim Porter, 2023/09/13
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Eli Zaretskii, 2023/09/13
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Jim Porter, 2023/09/13
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Spencer Baugh, 2023/09/13
- bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Jim Porter, 2023/09/13
bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, Eli Zaretskii, 2023/09/14
bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, sbaugh, 2023/09/14
bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping, sbaugh, 2023/09/14