From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: crontab from Emacs not only with Emacs Date: Sun, 12 May 2019 15:25:18 +0200 Message-ID: <87k1evkdoh.fsf@mbork.pl> References: <865zqg85qd.fsf@zoho.eu> <87lfzbkje6.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="19379"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: Help Gnu Emacs mailing list , Emanuel Berg To: Noam Postavsky Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 12 15:27:21 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hPoVd-0004we-5d for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2019 15:27:21 +0200 Original-Received: from localhost ([127.0.0.1]:43281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPoVb-0003q7-V5 for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2019 09:27:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPoVN-0003pp-RO for help-gnu-emacs@gnu.org; Sun, 12 May 2019 09:27:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPoVM-0004Mf-L1 for help-gnu-emacs@gnu.org; Sun, 12 May 2019 09:27:05 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:48372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPoVM-0004MJ-EA for help-gnu-emacs@gnu.org; Sun, 12 May 2019 09:27:04 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id C4A55E66B3; Sun, 12 May 2019 15:27:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2GsuokNigrvZ; Sun, 12 May 2019 15:26:59 +0200 (CEST) Original-Received: from localhost (jeden09-dwa27.echostar.pl [213.156.109.227]) by mail.mojserwer.eu (Postfix) with ESMTPSA id D897CE658D; Sun, 12 May 2019 15:26:58 +0200 (CEST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.110.48.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120318 Archived-At: On 2019-05-12, at 13:28, Noam Postavsky wrote: > On Sun, 12 May 2019 at 07:26, Marcin Borkowski wrote: >> >> >> On 2019-05-12, at 09:57, Emanuel Berg wrote: >> >> > I found the crontab-mode [1] in MELPA... >> > >> > I know 'crontab -e' looks for the EDITOR env to >> > get you your favorite editor... >> > >> > But how on Earth do I edit my (user's) crontab >> > file _from the Emacs that I already have open_, >> > 24/7/365+ ? >> >> Tramp? > > I think the answer here would be to set EDITOR to emacsclient. Yes, I think I misunderstood Emanuel's problem. Somehow I was thinking about editing root's crontab. Best, -- Marcin Borkowski http://mbork.pl