From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#50187: 28.0.50; tramp is called from calendar Date: Fri, 16 Sep 2022 10:04:57 +0000 Message-ID: <84acc36e7efb942eafdd@heytings.org> References: <87sflo4ajt.fsf@gnus.org> <87wnazfmdj.fsf@gmx.de> <87zgfvth3y.fsf@gnus.org> <87k06yrcwb.fsf@web.de> <875yiirc61.fsf@gnus.org> <877d2yimkn.fsf@web.de> <87leqoaum7.fsf@web.de> <87bkrifyxf.fsf@web.de> <87o7vg6i27.fsf@web.de> <87mtazy7tv.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6059"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , 50187@debbugs.gnu.org, Sam Steingold , Michael Albinus To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 12:06:38 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 1oZ8F3-0001N5-Gs for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 12:06:37 +0200 Original-Received: from localhost ([::1]:55604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZ8F2-000829-K5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 06:06:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZ8DW-0007mp-7Z for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 06:05:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZ8DV-0004r4-Us for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 06:05:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZ8DV-0003Ti-LR for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 06:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2022 10:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50187 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50187-submit@debbugs.gnu.org id=B50187.166332270113361 (code B ref 50187); Fri, 16 Sep 2022 10:05:01 +0000 Original-Received: (at 50187) by debbugs.gnu.org; 16 Sep 2022 10:05:01 +0000 Original-Received: from localhost ([127.0.0.1]:41744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ8DU-0003TR-P0 for submit@debbugs.gnu.org; Fri, 16 Sep 2022 06:05:00 -0400 Original-Received: from heytings.org ([95.142.160.155]:44076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ8DT-0003TH-2X for 50187@debbugs.gnu.org; Fri, 16 Sep 2022 06:04:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1663322697; bh=A5Z1YCqMiBDNsgakoV82weX6tfAK1A3hh/kAkMlI5Hw=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=oNmJ344fqvxBSW2KN/UPoQIt/KV9/2ldxiKnVzQCuhwug47ufFtF6CNaZ+pFImIdV KgP9DLXOWKf2hIrfjaAeTnLmN/yJhSmCZw9k1ZIf+sCDEI3TNxuD4r+54fZ/uwpuDq GOUL2+6tjGa+BQ3QTGZUORKGIbNJYuLCmSRVToTGeT4Aqy1N91tj2lUrke8h4eQqhr FD3jjzXRU9l7wgfaYsYjMiEecPsYAiaiModmE85fDyILe2CFUSteRIQGIBSjNHfqC5 4PAG+L4r+268C+1lxLb/AH29c4zR6Un4pcvH3n1O7ew+sO7sfFP75etmc0x5DVgkn6 208pj67aLm+NQ== In-Reply-To: <87mtazy7tv.fsf@gnus.org> 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:242722 Archived-At: > > If starting calendar while in a Tramp buffer is problematic for you, > then I think the solution is to not do that, I'm afraid. > Or to use this, for example: (advice-add 'calendar :around (lambda (fun &rest args) (let ((default-directory (if (file-remote-p default-directory) "~/" default-directory))) (apply fun args))))