From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Oliver Newsgroups: gmane.emacs.bugs Subject: bug#67736: 30.0.50; emacsclient.desktop fails with quoting-related error Date: Sun, 17 Dec 2023 14:24:27 +0000 (GMT) Message-ID: <5f44b482-109e-f592-4e7a-8429e56bfa6e@mavit.org.uk> References: <87a5qiswvy.fsf@posteo.de> <83cyvewpha.fsf@gnu.org> <875y16s3i2.fsf@posteo.de> <871qbus35s.fsf@posteo.de> <83y1e2uv81.fsf@gnu.org> <87plz5ptbd.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463811583-1585282608-1702823068=:4044" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36575"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67736@debbugs.gnu.org, Eli Zaretskii , carlosjosepita@gmail.com, ulm@gentoo.org To: Mekeor Melire Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 17 15:25:29 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 1rEs5B-0009IJ-1I for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Dec 2023 15:25:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEs4k-00030c-GC; Sun, 17 Dec 2023 09:25: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 1rEs4j-00030O-2Y for bug-gnu-emacs@gnu.org; Sun, 17 Dec 2023 09:25:01 -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 1rEs4i-0004CP-Q6 for bug-gnu-emacs@gnu.org; Sun, 17 Dec 2023 09:25:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEs4j-0004Cv-Ry for bug-gnu-emacs@gnu.org; Sun, 17 Dec 2023 09:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Peter Oliver Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Dec 2023 14:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67736 X-GNU-PR-Package: emacs Original-Received: via spool by 67736-submit@debbugs.gnu.org id=B67736.170282308016128 (code B ref 67736); Sun, 17 Dec 2023 14:25:01 +0000 Original-Received: (at 67736) by debbugs.gnu.org; 17 Dec 2023 14:24:40 +0000 Original-Received: from localhost ([127.0.0.1]:56798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEs4O-0004C3-Bm for submit@debbugs.gnu.org; Sun, 17 Dec 2023 09:24:40 -0500 Original-Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:52246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEs4L-0004Bo-GX for 67736@debbugs.gnu.org; Sun, 17 Dec 2023 09:24:38 -0500 Original-Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40c6a71e88cso27747725e9.0 for <67736@debbugs.gnu.org>; Sun, 17 Dec 2023 06:24:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavit.org.uk; s=google; t=1702823070; x=1703427870; darn=debbugs.gnu.org; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=kl2fLnX5CV2EdCDrJSGCvLRS0kPPNSUlEHIOLUdG9v8=; b=myLuOuxfqrw5SLDsEyqzfOVghqqqs5QyKQyd9E8KrsmaBZzeMUfmChxb88S94/5ZJS lvGuG2eH/e1OLOTD1mlYKtZ7SNLVZ6zcCK+qRWGzC2zNdGfbutChYDQBbPDVOMUg5r0f zjrrCi+DrGkS2sOFro3cMuAxA1+tYGKlVHHQE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702823070; x=1703427870; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kl2fLnX5CV2EdCDrJSGCvLRS0kPPNSUlEHIOLUdG9v8=; b=EUubyNHZ3LGyCEzCIFUFQMS2KaxvUHNStQHvdr8iRZdL++KvIfXkrDHfpHbX5DQsOs t/lCPQTtGRcul5edFipbmQ2xd9uvHn3R5xAGHCCddR7puKl1KxhYG6TTd5UTzLYRNZO/ xMj5f7rV8q+pEo7wDQB0BfCulksSs1Xvi1XMbNav47D/r6B+CJQ4mRn9SGTRXn8BX0cF VJeUZ4HFSw8EOXOCMIWd5dLBrK0k+8KgRVx4EolxspuBYk4MT/0HukAxYd5eIjkboOjY MupIP3BAVAGpYJ6CTXJn1uVorlxnyfDWyfcZLyYKzYW8xefAcM7d54mBA6gLj0/m1XM6 RLIw== X-Gm-Message-State: AOJu0YwDt7MNJ2dYXS5R3D2sebtt/jORwIe9v464EFFxGe6QfUEo68Hx Kslo9k9mlpnPeq1tojPeCQzVqA== X-Google-Smtp-Source: AGHT+IGqXFNdGr8Cuu+oYq3H4ib9Md6l0C8UMjijgKc4RVfEwTfvRWcW5wbnh+kKcf+ksKLNKlzHrg== X-Received: by 2002:a05:600c:3556:b0:405:3e9a:f1e3 with SMTP id i22-20020a05600c355600b004053e9af1e3mr8623505wmq.11.1702823070196; Sun, 17 Dec 2023 06:24:30 -0800 (PST) Original-Received: from froglet.home.mavit.org.uk (dudl-14-b2-v4wan-165814-cust1925.vm31.cable.virginm.net. [82.34.135.134]) by smtp.gmail.com with ESMTPSA id h12-20020a05600c314c00b0040c45cabc34sm29164208wmo.17.2023.12.17.06.24.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 06:24:29 -0800 (PST) Original-Received: from froglet.home.mavit.org.uk (localhost [127.0.0.1]) by froglet.home.mavit.org.uk (8.17.1/8.17.1) with ESMTPS id 3BHEOSNE021784 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sun, 17 Dec 2023 14:24:28 GMT Original-Received: from localhost (mavit@localhost) by froglet.home.mavit.org.uk (8.17.1/8.17.1/Submit) with ESMTP id 3BHEORxS021780; Sun, 17 Dec 2023 14:24:27 GMT X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing -bs In-Reply-To: <87plz5ptbd.fsf@posteo.de> 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:276425 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811583-1585282608-1702823068=:4044 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT Mekeor Melire wrote: > $ xdg-open example.txt > egrep: warning: egrep is obsolescent; using grep -E > [: -c: line 1: unexpected EOF while looking for matching `"' > [: -c: line 2: syntax error: unexpected end of file > [: -c: line 1: unexpected EOF while looking for matching `"' > [: -c: line 2: syntax error: unexpected end of file > [: -c: line 1: unexpected EOF while looking for matching `"' > [: -c: line 2: syntax error: unexpected end of file > > Does anyone else experience this problem? I don’t experience it on Fedora, but I notice that the Fedora version of xdg-utils carries an awful lot of patches (https://src.fedoraproject.org/rpms/xdg-utils/tree/f38). I agree that the quoting is too complex, and would be better eliminated. A wrapper script could achieve the same functionality. While I’m here, I’ll mention the other emacsclient.desktop issues that I’m aware of: - Startup notification doesn’t work when opening files in an existing Emacs: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49504 - $DISPLAY is inappropriate for PGTK on Wayland, since it forces XWayland. - emacsclient.desktop provides a superset of the functionality of emacs.desktop, but can’t replace it because there isn’t agreement that use of a daemon is suitable default behaviour. -- Peter Oliver ---1463811583-1585282608-1702823068=:4044--