Package: emacs23
Version: 23.2+1-5.1
Severity: normal
Hello,
I'm often playing around with symlinks, and I was hit with the
following emacs bug. Just run the following commands:
mkdir -p a/b/c
mkdir -p a/b/d
echo a > a/b/c/file
ln -s a/b/d
emacs d/../c/file
This starts emacs with an empty file, whereas all other commands
will give the proper answer, such as
~ cat d/../c/file
a
The thing is that emacs interprets .. as meaning "remove the topmost
directory from pwd". This is wrong (that's not what the kernel does
when opening files, it just follows the .. hard link; that isn't quite
the same).
Cheers,
Vincent
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages emacs23 depends on:
ii emacs23-bin-common 23.2+1-5.1 The GNU Emacs editor's shared, arc
ii libasound2 1.0.23-2.1 shared library for ALSA applicatio
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib
ii libgconf2-4 2.28.1-6 GNOME configuration database syste
ii libgif4 4.1.6-9 library for GIF images (library)
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libgpm2 1.20.4-3.3 General Purpose Mouse - shared lib
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface
ii libice6 2:1.0.7-1 X11 Inter-Client Exchange library
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG
ii libm17n-0 1.6.2-1 a multilingual text processing lib
ii libncurses5 5.7+20100313-4 shared libraries for terminal hand
ii libotf0 0.9.12-1 A Library for handling OpenType Fo
ii libpango1.0-0 1.28.3-1 Layout and rendering of internatio
ii libpng12-0 1.2.44-1 PNG library - runtime
ii librsvg2-2 2.26.3-1 SAX-based renderer library for SVG
ii libsm6 2:1.2.0-1 X11 Session Management library
ii libtiff4 3.9.4-5 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxft2 2.1.14-2 FreeType-based font drawing librar
ii libxpm4 1:3.5.9-1 X11 pixmap library
ii libxrender1 1:0.9.6-1 X Rendering Extension client libra
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
emacs23 recommends no packages.
Versions of packages emacs23 suggests:
ii emacs23-common-non-dfsg 23.2+1-1 GNU Emacs shared, architecture ind
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]