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 11-11-2008, 06:48 AM   #1
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Emacs inside X freezes when editing network file, outside X, works...?


Hi Guys

Strange problem. I'm trying to use emacs inside X to edit a file that is on a samba connection on a network.

I know the file is there and accessible - if I stay in text mode (runlevel 3) and run VI or Emacs in text mode (80x25), I can access, edit, and save the network-based file (the file is on a Linux machine, shared by samba)

However, here's the strange part:

If I go into X (with startx) and then try to edit the same file, NOTHING works (nothing x-based, that is). For example, I cannot open the file with emacs, OR kate OR kedit or openoffice - any graphical application refuses to open the file. Both emacs and kate and kedit and ooffice show the file and directory structure (so browsing over the samba connection works), but if I try to open the file, all freeze. The processes themselves seem to be running (they respond to kill -1 pid) but not graphical app ever actually loads the content of the file...

Even stranger: opening a terminal and using VI to edit the same file WORKS...

Any ideas at all? The defining thing seems to be that any and all X-Windows apps that try to read the file over the samba connection never do so, any character based app (VI -INSIDE- X-windows, and emacs -OUTSIDE- X-windows) can work with the file just fine...

What does being in X-windows have to do with a samba file not being accessible to any -graphical- app, while a character based app run in konsole AT THE SAME TIME on the SAME FILE (ie. with the x-server running ANYWAY) works just fine?

Any ideas? I can't make sense of this at all... FC6 with 2.6.18.1 kernel.

ANY help appreciated!

Thanks...

Last edited by rylan76; 11-11-2008 at 06:52 AM.
 
Old 11-13-2008, 01:02 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Original Poster
Rep: Reputation: 103Reputation: 103
This issue is RESOLVED.

It was an older xemacs version that was causing the problem. Outside X, an emacs (NOT xemacs) binary was running, which was different from the xemacs version and had no trouble editing over a samba connection.

I upgraded my emacs version to the latest one, and the problem went away...
 
  


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
LXer: Emacs editing, Pt.5: Shape your Emacs view LXer Syndicated Linux News 0 08-09-2007 07:46 AM
emacs inside a company? xeon123 Programming 2 05-18-2007 12:44 PM
Editing a file on a network using GUI Four Linux - Newbie 3 05-11-2007 04:22 PM
Editing Emacs colors? ljr2600 Mandriva 4 09-18-2004 06:50 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM

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

All times are GMT -5. The time now is 05:18 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