From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#28025: Daemon/server passes string incorrectly to/from Systemd Date: Wed, 09 Aug 2017 16:00:05 -0400 Message-ID: <5ko9roecl6.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502308874 6277 195.159.176.226 (9 Aug 2017 20:01:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 9 Aug 2017 20:01:14 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 28025@debbugs.gnu.org To: Arthur Miller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 09 22:01:06 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 1dfXA9-00012s-MJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Aug 2017 22:01:05 +0200 Original-Received: from localhost ([::1]:49599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfXAE-0007qH-Ad for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Aug 2017 16:01:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfXA8-0007oi-26 for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 16:01:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfXA7-0004Zy-26 for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 16:01:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45004) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfXA6-0004Zn-Ui for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 16:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dfXA6-0003Ko-EZ for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 16:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Aug 2017 20:01:02 +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.150230882412754 (code B ref 28025); Wed, 09 Aug 2017 20:01:02 +0000 Original-Received: (at 28025) by debbugs.gnu.org; 9 Aug 2017 20:00:24 +0000 Original-Received: from localhost ([127.0.0.1]:53684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfX9U-0003Jd-DZ for submit@debbugs.gnu.org; Wed, 09 Aug 2017 16:00:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfX9R-0003JK-KR for 28025@debbugs.gnu.org; Wed, 09 Aug 2017 16:00:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfX9L-000412-GZ for 28025@debbugs.gnu.org; Wed, 09 Aug 2017 16:00:16 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfX9D-0003oq-8z; Wed, 09 Aug 2017 16:00:07 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dfX9B-0006Sq-BO; Wed, 09 Aug 2017 16:00:05 -0400 X-Spook: Air Marshal Chemical agent Defcon Extreme weather Service X-Ran: 1'd?tX0=B$7%/h=,pU3N~;mWQKC.RtmWR8FV'CATpRRg48OvrSAerR:tk;jv['<;/=1lBu X-Hue: black X-Attribution: GM In-Reply-To: (Arthur Miller's message of "Wed, 9 Aug 2017 15:07:27 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:135607 Archived-At: Arthur Miller wrote: > I have checked that all paths are setup correctly. Emacs finds > dictionaries (DICPATH setts correctly in systemd service file), > and it also finds spellchecking program (/usr/bin/hunspell). > > I believe it might be something with passing strings to and from > d-bus, but I don't have experience with d-bus at all so I really > don't know. I don't see what D-Bus would have to do with this. I imagine that the environment of Emacs when started from systemd is different from when you start it normally, and something is missing that means hunspell can't find its dictionaries. You might compare the value of 'process-environment' in the two Emacs to see what differs. Or M-x ispell-buffer-with-debug might provide more information. Or edebug ispell-find-hunspell-dictionaries and step through it to see where things go wrong.