unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9799: 24.0.90; minor bug with --with-wide-int in *Buffer List*
@ 2011-10-19 19:59 Peter Dyballa
  2011-10-19 20:21 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Dyballa @ 2011-10-19 19:59 UTC (permalink / raw)
  To: 9799

Hello!

When I visit large files, for example one with 1,999 or 2,000 MiB  
size, this size is not correctly reported in *Buffer List*:

	.%  Ruhe_1-Paul_Plam: 72943170  Fundamental	  /Volumes/BSD-Linux/ 
Ruhe_1-Paul_Plamper.mp3
	 %  BSD-Linux             1629  Dired by name	  /Volumes/BSD-Linux/
	 %  Leo                   1334  Dired by name	  /Volumes/Leo/
	 %  SW1.tar           11272383  Tar		  /Volumes/Leo/SW1.tar
	    *scratch*              191  Lisp Interaction
	  * *Messages*             976  Fundamental

Here are excerpts from dired buffers:
	
	  /Volumes/Leo:
	  insgesamt 18G
	  drwxrwxr-x  7 pete pete   714 19. Okt 20:28 .
	  drwxrwxrwt  8 root admin  306 19. Okt 17:04 ..
	  -rw-r--r--  1 pete pete   96M 17. Okt 19:00 BSD-Linux.tar
	  -rw-r--r--  1 pete pete   12G 17. Okt 15:26 Halde.tar.lzo
	  -rw-r--r--  1 pete pete  2,0G 18. Okt 21:24 SW1.tar
	  -rw-r--r--  1 pete pete  2,0G 18. Okt 21:24 SW2.tar
	  -rw-r--r--  1 pete pete  2,0G 18. Okt 23:03 SW3.tar
	
	  /Volumes/BSD-Linux:
	  insgesamt 97M
	  drwxrwxr-t 24 root admin  884 28. Jun 20:56 .
	  drwxrwxrwt  8 root admin  306 19. Okt 17:04 ..
	  -rw-r--r--  1 pete admin  23M 20. Jul 2009  RUR.mp3
	  -rw-r--r--  1 pete admin  70M  9. Jul 2009  Ruhe_1-Paul_Plamper.mp3

As you can see the 2 GiB TAR file is reported as being 1/6 the size of  
the MP3 file, which actually is approximately 1/30 the size of the TAR  
file.

In GNU Emacs 24.0.90.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d  
scroll bars)
  of 2011-10-17 on Latsche.fritz.box
Windowing system distributor `The X.Org Foundation', version  
11.0.11100000
configured using `configure  '--without-sound' '--without-dbus' '-- 
without-pop' '--without-gconf' '--without-gpm' '--without-gsettings'  
'--without-gif' '--without-jpeg' '--without-png' '--without-rsvg' '-- 
without-tiff' '--without-xpm' '--with-wide-int' '--with-x- 
toolkit=athena' '--x-libraries=/usr/X11/lib' '--x-includes=/usr/X11/ 
include' '--enable-locallisppath=/Library/Application Support/Emacs/ 
calendar24:/Library/Application Support/Emacs' 'CFLAGS=-g -H -pipe - 
fPIC -fno-common -mcpu=7450 -mtune=7450 -maltivec -faltivec - 
mabi=altivec -Os -mfused-madd -mmultiple -ftree-vectorize -mpowerpc- 
gfxopt' 'LDFLAGS=-Wl,-dead_strip_dylibs -Wl,-bind_at_load -Wl,-t'  
'CC=gcc-4' 'CPP=cpp-4' 'PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/ 
share/pkgconfig:/sw/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/ 
share/pkgconfig:/usr/lib/pkgconfig''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
   tooltip-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t


--
Greetings

   Pete

Globalisation – communism from above.






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

* bug#9799: 24.0.90; minor bug with --with-wide-int in *Buffer List*
  2011-10-19 19:59 bug#9799: 24.0.90; minor bug with --with-wide-int in *Buffer List* Peter Dyballa
@ 2011-10-19 20:21 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2011-10-19 20:21 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 9799

Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:

> As you can see the 2 GiB TAR file is reported as being 1/6 the size of the
> MP3 file, which actually is approximately 1/30 the size of the TAR file.

The buffer of a tar file only contains the table of contents.  The
actual data is stored in a hidden buffer.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

end of thread, other threads:[~2011-10-19 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19 19:59 bug#9799: 24.0.90; minor bug with --with-wide-int in *Buffer List* Peter Dyballa
2011-10-19 20:21 ` Andreas Schwab

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).