unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13747: Bug: Error when viewing symbolically linked file in Windows 7
@ 2013-02-18 17:42 Gustav Wikström
  2013-02-18 18:15 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Gustav Wikström @ 2013-02-18 17:42 UTC (permalink / raw)
  To: 13747

[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]

Description:
When viewing files in windows 7 that are symbolically linked the buffer
cuts the file at 2^16 bytes of information.

To reproduce:
- Create or find a text-file that has content of more than 65536 bytes of
data.
- Link that file to a different place in your filesystem

  > set dest_folder=%HOMEPATH%\temp1\
  > set src_folder=%HOMEPATH%\temp2\
  > MKLINK "%dest_folder%\init.org"         "%src_folder%\.emacs.d\init.org"

- Open the linked file in emacs.
- Go to the last point in the buffer containing the file.
- Observe the position of POINT (M-x = )
- Do the same with the original file and observe the position of POINT at
the end of buffer.

Obtained result:
The position of point in the linked buffer is 65536 while the point is
higher when opening the non-linked file.

I.e. the whole file is not visible in the buffer for the linked file

Expected result:
The position of point is the same in both buffers.

Environmental parameters:
- GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN
- Windows 7 32bits & 64bits

[-- Attachment #2: Type: text/html, Size: 1597 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13747: Bug: Error when viewing symbolically linked file in Windows 7
  2013-02-18 17:42 bug#13747: Bug: Error when viewing symbolically linked file in Windows 7 Gustav Wikström
@ 2013-02-18 18:15 ` Eli Zaretskii
       [not found]   ` <CA+SyOP-oJKwdddncKWJo4aXaBwFvDgV+d1EBdzdj8vZqBG7Axw@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2013-02-18 18:15 UTC (permalink / raw)
  To: Gustav Wikström; +Cc: 13747

> Date: Mon, 18 Feb 2013 18:42:47 +0100
> From: Gustav Wikström <gustav.erik@gmail.com>
> 
> Description:
> When viewing files in windows 7 that are symbolically linked the buffer
> cuts the file at 2^16 bytes of information.
> 
> To reproduce:
> - Create or find a text-file that has content of more than 65536 bytes of
> data.
> - Link that file to a different place in your filesystem
> 
>   > set dest_folder=%HOMEPATH%\temp1\
>   > set src_folder=%HOMEPATH%\temp2\
>   > MKLINK "%dest_folder%\init.org"         "%src_folder%\.emacs.d\init.org"
> 
> - Open the linked file in emacs.
> - Go to the last point in the buffer containing the file.
> - Observe the position of POINT (M-x = )
> - Do the same with the original file and observe the position of POINT at
> the end of buffer.
> 
> Obtained result:
> The position of point in the linked buffer is 65536 while the point is
> higher when opening the non-linked file.
> 
> I.e. the whole file is not visible in the buffer for the linked file
> 
> Expected result:
> The position of point is the same in both buffers.
> 
> Environmental parameters:
> - GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN
> - Windows 7 32bits & 64bits

Emacs 24.2 did not support symlinks on MS-Windows.  Please try the
latest pretest of Emacs 24.3, it should have this problem fixed (and
supports more features related to symlinks).






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13747: Bug: Error when viewing symbolically linked file in Windows 7
       [not found]   ` <CA+SyOP-oJKwdddncKWJo4aXaBwFvDgV+d1EBdzdj8vZqBG7Axw@mail.gmail.com>
@ 2013-02-19 16:41     ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2013-02-19 16:41 UTC (permalink / raw)
  To: Gustav Wikström; +Cc: 13747-done

> Date: Mon, 18 Feb 2013 22:46:59 +0100
> From: Gustav Wikström <gustav.erik@gmail.com>
> 
> Ok, thanks for the pointer!

I've now verified that the latest pretest doesn't have this problem,
and I'm therefore closing the bug.

Thanks.






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-19 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18 17:42 bug#13747: Bug: Error when viewing symbolically linked file in Windows 7 Gustav Wikström
2013-02-18 18:15 ` Eli Zaretskii
     [not found]   ` <CA+SyOP-oJKwdddncKWJo4aXaBwFvDgV+d1EBdzdj8vZqBG7Axw@mail.gmail.com>
2013-02-19 16:41     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).