[Top][All Lists]
[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 10:05:17 -0600 |
Ok,
This has piqued my curiosity.
Did a couple of additional tests. Here is what I have seen and my take on what
is happening.
When the Open File menu entry is used the directory of the current buffer is
opened and the name of the file associated with the current buffer is displayed
in the window. It appears that the name of the file that is associated with
the current buffer is reformatted to be windows compatible in order to pass it
to the windows dialog. The reformatting appears to be done in place rather
than using temporary storage for this. Without having looked at the code that
does this I can suggest two solutions. Change the code to use a temporary
variable to reformat the file name. If that is not possible add cod that
reverts the file name to the standard Unix format after the file has been
opened.
-_
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
- [h-e-w] Strange Problem (perhaps even a bug!), Paul Whitfield, 2002/11/08
- RE: [h-e-w] Strange Problem (perhaps even a bug!), Bingham, Jay, 2002/11/08
- RE: [h-e-w] Strange Problem (perhaps even a bug!),
Bingham, Jay <=
- RE: [h-e-w] Strange Problem (perhaps even a bug!), jasonr, 2002/11/08
- RE: [h-e-w] Strange Problem (perhaps even a bug!), Bingham, Jay, 2002/11/11