From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#1474: bug#25232: 24.4; Eliminate - Warning: Desktop file appears to be in use Date: Thu, 24 Mar 2022 09:25:35 +0100 Message-ID: <87o81v69kw.fsf_-_@gnus.org> References: <87bpvufe28.fsf@tux.homenetwork> <87v9p094ym.fsf@marxist.se> <87eev56tuu.fsf@marxist.se> <83v9ohcdi7.fsf@gnu.org> <87r1w98bfj.fsf@stefankangas.se> <83sggp3rvi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27497"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Stefan Kangas , thierry.volpiatto@gmail.com, 25232@debbugs.gnu.org, 1474@debbugs.gnu.org, emacs@gentoo.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 24 09:40:40 2022 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 1nXJ1M-0006xG-Ku for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Mar 2022 09:40:40 +0100 Original-Received: from localhost ([::1]:34728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXJ1L-0004cO-HT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Mar 2022 04:40:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXInC-0003X0-5D for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2022 04:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXInB-00059A-SR for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2022 04:26:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXInB-0005zc-Iq for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2022 04:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Mar 2022 08:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 1474-submit@debbugs.gnu.org id=B1474.164811035022999 (code B ref 1474); Thu, 24 Mar 2022 08:26:01 +0000 Original-Received: (at 1474) by debbugs.gnu.org; 24 Mar 2022 08:25:50 +0000 Original-Received: from localhost ([127.0.0.1]:46718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXImz-0005yr-Mn for submit@debbugs.gnu.org; Thu, 24 Mar 2022 04:25:49 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:55808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXImy-0005ya-3h; Thu, 24 Mar 2022 04:25:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PoZLCF1fOy7U3/aro/6EUDHk9WR4o3THq14kXsPTeTQ=; b=KUAOKeGFa+9ZnDV+4bBjz2lXng cgT0IyjZPnFXoM+gJXtF2uq9ylaf+2RfuOF6Cfmz8eAmq1i57kco/je+zrv4riybRGEOb0Ezo20gy DaAUqi2TJZS4573KrS+gkuflioyZi1cJq6pr1NXjGClpfzezC6J7Fe00zzPxzI+E70d8=; Original-Received: from 109.179.236.69.tmi.telenormobil.no ([109.179.236.69] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXImn-0001BI-I1; Thu, 24 Mar 2022 09:25:40 +0100 In-Reply-To: <83sggp3rvi.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Apr 2020 17:50:09 +0300") 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" Xref: news.gmane.io gmane.emacs.bugs:228863 Archived-At: Eli Zaretskii writes: > Perhaps you could use the name you find in command-line-args? Note > that it might include leading directories, and at least on Windows the > directory separator might either be a slash or a backslash, so use of > file-name-nondirectory is advised. I've now applied Stefan's patch to Emacs 29 (adjusting for Eli's comments). There's still the question of altering the desktop format to identify the machine it's running on, but I think Stefan's patch covers most of the issue discussed, if I understand correctly. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no