LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2008, 02:32 PM   #1
lentzjm
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
Angry Strange problem with emacs


I have a user here, that uses emacs 21.3-4.1 on RHEL WS 3. The user opens a file, edits it for a bit and goes to save, but when he tries to save, it says the file has changed. No one else has access to the users directory, and the file content does not change, but the timestamp does. The timestamp is newer than the original time so it complains. Has anyone experienced this? The files are located on an NFSv3 share on a SAN. There is nothing in NFS that would cause this AFAIK. And the SAN is showing no problems.
 
Old 12-09-2008, 02:56 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,324

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by lentzjm View Post
I have a user here, that uses emacs 21.3-4.1 on RHEL WS 3. The user opens a file, edits it for a bit and goes to save, but when he tries to save, it says the file has changed. No one else has access to the users directory, and the file content does not change, but the timestamp does. The timestamp is newer than the original time so it complains. Has anyone experienced this? The files are located on an NFSv3 share on a SAN. There is nothing in NFS that would cause this AFAIK. And the SAN is showing no problems.
It's because the NFS share is changing, somehow. I've seen this on NFS shares before, and if you move the file to a local device, it'll work fine.

I've never pursued this much, since the fix (for me) was just to edit local files, and move them back to NFS when I was done....
 
Old 12-10-2008, 09:39 AM   #3
lentzjm
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Question

The other thing I'm curious about is this user is running tq.el and clearcase.el plugins for emacs. Maybe one of these are causing the problem?
 
Old 12-10-2008, 10:50 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,324

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by lentzjm View Post
The other thing I'm curious about is this user is running tq.el and clearcase.el plugins for emacs. Maybe one of these are causing the problem?
Probably not....as I said, I've seen this exact problem before, and it has to do with NFS. I've seen it in VI, emacs, Anjuta, and KDevelop, and the only common piece was the source file, being on an NFS share.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs strange tab stops tanoatlq Linux - Software 2 05-31-2008 02:15 PM
Alt no longer META key when using in-terminal option of Emacs (emacs -nw) frznchckn Linux - Software 1 06-02-2007 03:41 AM
Strange Problem with Emacs/XEmacs mrgoodtrips Linux - Software 1 07-28-2005 02:34 AM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 06:16 PM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration