From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.bugs Subject: bug#28025: Re: bug#28025: Daemon/server passes string incorrectly to/from Systemd Date: Fri, 11 Aug 2017 16:06:48 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113ad448f5508605567ad29c" X-Trace: blaine.gmane.org 1502460613 10579 195.159.176.226 (11 Aug 2017 14:10:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2017 14:10:13 +0000 (UTC) Cc: 28025@debbugs.gnu.org To: Eli Zaretskii , npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 11 16:10:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgAda-0002D9-4O for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Aug 2017 16:10:06 +0200 Original-Received: from localhost ([::1]:43192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgAdd-0004fU-5O for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Aug 2017 10:10:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgAaf-0001wz-5J for bug-gnu-emacs@gnu.org; Fri, 11 Aug 2017 10:07:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgAac-0003Ui-Gj for bug-gnu-emacs@gnu.org; Fri, 11 Aug 2017 10:07:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47197) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgAac-0003UW-D4 for bug-gnu-emacs@gnu.org; Fri, 11 Aug 2017 10:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dgAac-0000n3-0d for bug-gnu-emacs@gnu.org; Fri, 11 Aug 2017 10:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Aug 2017 14:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28025-submit@debbugs.gnu.org id=B28025.15024604173026 (code B ref 28025); Fri, 11 Aug 2017 14:07:01 +0000 Original-Received: (at 28025) by debbugs.gnu.org; 11 Aug 2017 14:06:57 +0000 Original-Received: from localhost ([127.0.0.1]:55878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgAaW-0000mk-Jl for submit@debbugs.gnu.org; Fri, 11 Aug 2017 10:06:56 -0400 Original-Received: from mail-oi0-f41.google.com ([209.85.218.41]:36128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgAaU-0000mW-IN for 28025@debbugs.gnu.org; Fri, 11 Aug 2017 10:06:55 -0400 Original-Received: by mail-oi0-f41.google.com with SMTP id g131so34092366oic.3 for <28025@debbugs.gnu.org>; Fri, 11 Aug 2017 07:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1M7WujgDk0VuoVaXO07BdceCoip2iB9fvhSbf61BR9c=; b=EuFcmyVYAqnIWHj65vyUbpSDXv3Sm/NzyY0i3pdFOyChWSe6Bvbvo8lcom/rfbUQ9f d9ClfXFXqxSfn7gIq+VS54pduz3XPQ459/98XOFzutWE1cWFb2kW3GORbT+i3NLphn8y tyIcUhFRmUjt+B4kvcK434+Xj1/a8GDdiq5FZ/5aaQAuWxJIK49Cwtuuqw481w5gLPYe DvHnfWJN3+HO1LwOvHFqVuNHyJF5Q8HC7A7E6nO4PKYhH2W8nuAU3MPsFC++9VEqMX6a 7f9ESATO79PaE5RmLo9j39XXqZBa6JUb4Vp2CQZPkKrKXdKav+uL+e37nNEcUOwl772r gZ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1M7WujgDk0VuoVaXO07BdceCoip2iB9fvhSbf61BR9c=; b=ddlIwjTynalu5MXcyhXc2FVOK0iwBbbBgDcW2rJtRIGfU0SJgsFyga4aPrs8RTVhj2 zLbWHzkKoSi6/OberzpY2OQs+kjkOPf7K7fpbGrxXPMLejsqYlK0izQJOmlveJ+8Y8ZK uUWHaIUZOBlEVbwqfp6dH0EJqfFdMU/NokTHlrrxK/8zF1kTp7uJs3eNbowD788XEpI/ 9dIXH25BaKxetgS1S4EVJ1aqMQSCBON8/nK2sFjLu0sMjlqPVGbzaC5rpfYY9G4xJPrL vblTDTRJw81fCKqdUHhate22vlBer0VnpXiIWbwu78D3L7jjTIDh6nvpy8uGCoZh5ZCY jtlA== X-Gm-Message-State: AHYfb5icek08NzMRz0JcMFaOMRkxzimvtiM5P+ayO2iYpY4q21Gj7i01 k2yVyi9D8RRkH7BWlirYTYfGJaeDlg== X-Received: by 10.202.87.78 with SMTP id l75mr18582897oib.275.1502460408841; Fri, 11 Aug 2017 07:06:48 -0700 (PDT) Original-Received: by 10.182.20.51 with HTTP; Fri, 11 Aug 2017 07:06:48 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135655 Archived-At: --001a113ad448f5508605567ad29c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yepp tilde in DICPATH was the problem! No bug in Emacs! :-) I am so used to bash, so I always forgett it's bash that does the expansion, and it fails in cases like this. Thank you all for the help! 2017-08-10 17:59 GMT+02:00 arthur.miller.no1 : > Aha. I guess you are ptobably correct. I am not at home again before > tomorrow, but as soon as I am at home I will try it. Thanks! > > > Skickat fr=C3=A5n min Samsung-enhet > > > -------- Originalmeddelande -------- > Fr=C3=A5n: Eli Zaretskii > Datum: 2017-08-10 17:18 (GMT+01:00) > Till: npostavs@users.sourceforge.net > Kopia: arthur.miller.no1@gmail.com, 28025@debbugs.gnu.org > Rubrik: Re: bug#28025: Daemon/server passes string incorrectly to/from > Systemd > > > From: npostavs@users.sourceforge.net > > Date: Thu, 10 Aug 2017 08:54:29 -0400 > > Cc: 28025@debbugs.gnu.org > > > > > Emacs daemon started with systemd as user service: > > > > > > ("TERM=3Ddumb" "DICPATH=3D~/.emacs.d/hunspell" > > [...] > > > > > Emacs daemon started from shell: > > [...] > > > "DICPATH=3D/home/*****/.emacs.d/hunspell" > > > > Could the fact that you have "~" instead of "/home/****/" in the system= d > > service be significant? Does it help to change that? > > Indeed, I don't think Hunspell expands "~" in DICPATH. > --001a113ad448f5508605567ad29c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yepp tilde in DICPATH was the problem! No bug in Emac= s! :-)

I am so used to bash, so I always forgett i= t's bash that does the expansion, and it fails
in cases = like this.

Thank you all for the help!

2017-08-10 17= :59 GMT+02:00 arthur.miller.no1 <arthur.miller.no1@gmail.com= >:
=20
Aha. I guess you are ptobably correct. I am not at home again before t= omorrow, but as soon as I am at home I will try it. Thanks!

<= /div>

Skickat fr=C3=A5n min= Samsung-enhet


-------- Originalmeddelande --------
F= r=C3=A5n: Eli Zaretskii <eliz@gnu.org>
Datum: 2017-08-10 17:18 (GMT+01:00)
Till:= nposta= vs@users.sourceforge.net
Kopia: arthur.miller.no1@gmail.com, 28025@debbugs.gnu.org Rubrik: Re: bug#28025: Daemon/server passes string incorrectly to/from Sy= stemd

> From: npostavs@users.sourceforge.net=
> Date: Thu, 10 Aug 2017 08:54:29 -0400
> Cc: 28025@debbugs.gnu.org
>= ;
> > Emacs daemon started with systemd as user service:
> = >
> > ("TERM=3Ddumb" "DICPATH=3D~/.emacs.d/hunsp= ell"
> [...]
>
> > Emacs daemon started from she= ll:
> [...]
> > "DICPATH=3D/home/*****/.emacs.d/hu= nspell"
>
> Could the fact that you have "~" in= stead of "/home/****/" in the systemd
> service be signific= ant?=C2=A0 Does it help to change that?

Indeed, I don't think Hu= nspell expands "~" in DICPATH.
=

--001a113ad448f5508605567ad29c--