🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #1082

Upgraded Emacs, can't change crontab

#1082
From: Adam
Date: Sun, 10 Mar 2002 07:36
34 lines
2308 bytes
I'm running Mandrake 8.1, which came with Emacs 20.7. I'm not familiar with 
vi, so I put these lines in my normal .bashrc and my root .bashrc:

# default editor, e.g. for crontab
EDITOR='/usr/bin/emacs'
export EDITOR

That worked; crontab -e used to bring up Emacs and modify the crontab. A 
few days ago I upgraded to Emacs 21.1.1. I changed /usr/bin/emacs to point 
to the new version and my scripts that use it work correctly.

But crontab no longer works correctly:

/home/adam $ crontab -e
  (over in the Emacs window: made changes, C-x C-s C-x C-c)
crontab: no changes made to crontab
/home/adam $ 

Interestly crontab -l worked and crontab -r worked, so I now have an empty 
crontab, which I can't change:

/home/adam $ crontab -e
no crontab for adam - using an empty one
  (over in the Emacs window: made changes, C-x C-s C-x C-c)
crontab: no changes made to crontab
/home/adam $ 

The cron daemon is still working correctly, since root's cron jobs are 
still running correctly.

Any ideas?

Thanks
Adam
Technical Details
Message-ID: <62Ei8.1728$qm4.13514775@news-text.cableinet.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newspeer.clara.net!news.clara.net!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news-text.cableinet.net.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,478a7f05d8b5e4e7,start
X-Google-Attributes: gid103b8b,public
X-Google-Thread: 100c5f,478a7f05d8b5e4e7,start
X-Google-Attributes: gid100c5f,public
X-Google-ArrivalTime: 2002-03-09 23:36:35 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newspeer.clara.net!news.clara.net!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news-text.cableinet.net.POSTED!53ab2750!not-for-mail
From: Adam <a24061@void.yahoo.void.com>
Subject: Upgraded Emacs, can't change crontab
Newsgroups: alt.linux,gnu.emacs.help
Lines: 35
Organization: n/a
User-Agent: KNode/0.6.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Message-ID: <62Ei8.1728$qm4.13514775@news-text.cableinet.net>
X-Trace: Rn6JVy312NjttKFFHSExR7E4BxD3lr2RWF/m/9IeDuehQ7izyLfc9bHuP71YrIqqq6KiAjAuuXPH!RhIeeFIAchpl9jan0zLARUI=
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@blueyonder.co.uk
NNTP-Posting-Date: Sun, 10 Mar 2002 07:36:34 GMT
Date: Sun, 10 Mar 2002 07:36:35 GMT