help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [h-e-w] Strange Problem (perhaps even a bug!)


From: Bingham, Jay
Subject: RE: [h-e-w] Strange Problem (perhaps even a bug!)
Date: Fri, 8 Nov 2002 09:26:39 -0600

That is really a strange one and I think that it is a bug.  I had never seen it 
before to I tried it out.  Here is what I did and saw.
C-x C-f (saw that prompt was C:\) temp\test.c
C-x C-b 
(saw 
MR Buffer           Size  Mode         File
 -- ------           ----  ----         ----
    test.c              0  C            c:/temp/test.c   )
Menu File -> Open File test2.c
C-x C-b 
 (saw 
MR Buffer           Size  Mode         File
 -- ------           ----  ----         ----
.   test2.c             0  C            c:/temp/test2.c
    test.c              0  C            c:\temp\test.c   )

I also tried changing the backslashes to forward slashes at the C-x C-f prompt 
but saw the same result. After the windows dialog is used the first time the 
forward slashes in the first buffer name are changed to back slashes while the 
backslashes that were in the windows dialog are changed to forward slashes.  
This makes me think that it is a bug.
Here is another sequence:  
C-x C-f /temp/test.c
C-x C-b 
MR Buffer           Size  Mode         File
 -- ------           ----  ----         ----
.   test3.c             0  C            c:/temp/test3.c
C-x C-f /temp/test2.c
C-x C-b 
MR Buffer           Size  Mode         File
 -- ------           ----  ----         ----
.   test3.c             0  C            c:/temp/test3.c
    test2.c             0  C            c:/temp/test2.c
windows dialog test3.c
C-x C-b 
MR Buffer           Size  Mode         File
 -- ------           ----  ----         ----
.   test3.c             0  C            c:/temp/test3.c
    test2.c             0  C            c:\temp\test2.c
    test.c              0  C            c:/temp/test.c
windows dialog test2.c
C-x C-b
MR Buffer           Size  Mode         File
 -- ------           ----  ----         ----
.   test2.c<2>          0  C            c:/temp/test2.c
    test.c              0  C            c:\temp\test.c
    test3.c             0  C            c:\temp\test3.c
    test2.c             0  C            c:\temp\test2.c

For now I think that the best work around method is to use one method or the 
other to open files.

-_
J_)
C_)ingham
.    HP - NonStop Austin Software & Services - Software Product Assurance
.    Austin, TX
. Language is the apparel in which your thoughts parade in public.
. Never clothe them in vulgar and shoddy attire.          -Dr. George W. Crane-

 -----Original Message-----
From:   Paul Whitfield [mailto:address@hidden 
Sent:   Friday, November 08, 2002 12:53 AM
To:     address@hidden
Subject:        [h-e-w] Strange Problem (perhaps even a bug!)

We have discovered some strange behaviour here when using
the windows dialog find-file (i.e. doing a find file via the
menu).

To reproduce this

open a file say c:\temp\test.c (does not matter how you open this one)

open a file using the menu bar c:\temp\test2.c

Now view the buffers and you get

  MR Buffer           Size  Mode         File
  -- ------           ----  ----         ----
.   crap.c             12  C            d:/temp/test1.c
     test.c             18  C            d:\temp\test.c
     *scratch*           0  Lisp Interaction
  *  *Messages*        554  Fundamental
     *Compile-Log*       0  Fundamental


As you can see test.c has the directory separators in
"windows" way

Now if you open test.c again via find file you get two test.c
buffers.

Has anyone else come across this?
Is there a work around (other than not using the
stupid windows file open dialogue) ?

Best regards


Paul










reply via email to

[Prev in Thread] Current Thread [Next in Thread]