Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Weird file buffering in emacs shell.

1 view
Skip to first unread message

DaLoverhino

unread,
Jan 14, 2008, 2:31:42 PM1/14/08
to
Sorry. I don't know where to post this, but I got this strange
behavior going on.

I have two emacs windows called "oracle", and "development". I have
an emacs shell in both. Now, in the development emacs shell, I add a
few trace println() in a java file. In the development emacs shell, I
do a grep and I see the trace statements placed in the java file. My
oracle emacs window is running as oracle user. My development emacs
window is running as me.

Now, I move my mouse pointer over to my oracle emacs window. And I go
to the oracle emacs shell, I do the same grep on the same file, and I
don't see the trace statements. I check a few times that I am indeed
grepping in the same directory and on the same files. And indeed I
don't see the trace statement.

So, now I go over to a normal xterm as oracle user, go to the same
directory, and I do the same grep. I now see the trace statements.

So, now when I do an ls -l on the java file. I see that the
modification times look the same on my development emacs window, and
my oracle xterm window. But, the modfiication time on my oracle emacs
window is much older.

What is going on here?

I am using Emacs 21.4.1. I am using GNU bash 3.1.17. I am using
Linux Fedora Core 6.

thanks.

DaLoverhino

unread,
Jan 14, 2008, 2:38:42 PM1/14/08
to

Just some more information. I am not using ESC-x grep. I am doing a
grep inside the emacs shells.

jcg.s...@gmail.com

unread,
Mar 12, 2008, 5:23:49 AM3/12/08
to
> But, the modfiication time on my oracle emacs
> window is much older.

Do you mean the time shown if you do "ls -l" in the oracle emacs
window? Sounds like it might be a machine, or login, using a different
time zone.

0 new messages