Re: say where attempt to write backup file was

2007-01-03 Thread Kevin Rodgers

Kim F. Storm wrote:

Stefan Monnier [EMAIL PROTECTED] writes:


If the echo area automatically accomodates long messages, couldn't the
absolute file name for both the original backup and the fallback be
displayed?
Yes, nowadays that will work.  I will make that change.

I do not want to oppose this change, but I just want to remind people that
long mesages are still undesirable, for example because minibuffer-only
frames don't automatically grow.


You can also turn off resize-mini-windows, and max-mini-window-height
may also kick in ...


So should the call to message in backup-buffer be wrapped in

(let ((resize-mini-windows 'grow-only)
  (max-mini-window-height 1.0))
   ...)

--
Kevin Rodgers
Denver, Colorado, USA



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


tutorial: typo

2007-01-03 Thread Chris Moore
--- tutorial.el~2007-01-03 10:08:23.0 +0100
+++ tutorial.el 2007-01-03 10:08:27.0 +0100
@@ -153,7 +153,7 @@
   (insert \n\nYou can use M-x 
   (format %s db)
RET instead.))
-  (insert \n\nWith you current key bindings
+  (insert \n\nWith your current key bindings
you can use the key 
   where
to get the function `


In GNU Emacs 22.0.92.11 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-01-03 on trpaslik
X server distributor `RealVNC Ltd', version 11.0.3370
configured using `configure  '--with-gtk' '--prefix' '/usr/local' '--with-xpm' 
'--with-jpeg' '--with-png' '--with-gif''


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


safe-local-variable stuff

2007-01-03 Thread Peter Dyballa

Hello!

When I save a *compilation* buffer and I later visit that file, the  
GNU Emacsen from CVS (22.0.*, 23.0.0) complain about the default- 
directory variable used. Is there some reason why this variable is  
treated as unsafe? Why are the *compilation* buffers settings this  
unsafe variable at all? Or did I miss some customisation?


One AUCTeX variable is treated as unsafe, too: TeX-command-default.  
Are there reasons for doing this? The command to become executed has  
to be registered before as a command for the AUCTeX Commands menu. So  
it should be safe. Or am I wrong?


In GNU Emacs 23.0.0.1 (powerpc-apple-darwin8.8.0, X toolkit, Xaw3d  
scroll bars)

of 2007-01-02 on Latsche.local
X server distributor `The XFree86 Project, Inc', version 11.0.4040
configured using `configure  '--without-ns' '--without-carbon' '-- 
with-x' '--without-sound' '--without-pop' '--with-xpm' '--with-jpeg'  
'--with-tiff' '--with-gif' '--with-png' '--enable-locallisppath=/ 
Library/Application Support/Emacs/calendar23:/Library/Application  
Support/Emacs/preview:/Library/Application Support/Emacs/auctex/ 
images:/Library/Application Support/Emacs/auctex:/Library/Application  
Support/Emacs' 'CFLAGS=-pipe -fPIC -mcpu=7450 -mtune=7450 -fast -mpim- 
altivec -ftree-vectorize -foptimize-register-move -freorder-blocks - 
freorder-blocks-and-partition -fthread-jumps -fpeephole -fno- 
crossjumping' 'CPPFLAGS=-no-cpp-precomp -I/usr/include/openssl -I/usr/ 
local/include -I/sw/include/libpng12 -I/sw/include -idirafter /usr/ 
X11R6/include' 'LDFLAGS=-dead_strip -bind_at_load -multiply_defined  
suppress -L/usr/X11R6/lib -L/usr/local/lib -L/sw/lib/ncurses -L/sw/ 
lib' 'ACLOCAL=aclocal -I /sw/share/aclocal -I /usr/local/share/ 
aclocal -I /usr/X11R6/share/aclocal' 'LIBTOOLIZE=/usr/local/bin/ 
libtoolize' 'PKG_CONFIG_PATH=/sw/lib/freetype219/lib/pkgconfig:/sw/ 
lib/fontconfig2/lib/pkgconfig:/usr/X11R7/lib/pkgconfig:/sw/lib/ 
pkgconfig:/sw/lib/system-openssl/lib/pkgconfig:/sw/share/pkgconfig:/ 
usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/clamXav/lib/ 
pkgconfig' 'PATH=/usr/local/bin:/sw/lib/freetype219/bin:/sw/lib/ 
odcctools/bin:/sw/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/ 
usr/local/gwTeX/bin/powerpc-apple-darwin-current''


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



--
Greetings

  Pete

When confronted with actual numbers, a mathematician is at a loss.
 (Steffen Hokland)




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Image scroll issue

2007-01-03 Thread Kim F. Storm
Chris Moore [EMAIL PROTECTED] writes:

 If I visit a .jpg file and hit C-v a few times, I scroll down the
 image, but when I get to the bottom, it wraps back to the top again.

Yes, that's a minor problem, but it is hard to fix, so it will have to
wait.

 M- and M- don't do anything.  

If the buffer contains just one image that is true.
Also a really minor problem.

We could fix it by having special bindings for those keys in 
image-mode (after the release).

 The scrollbar doesn't update to show
 my position through the image.  Dragging the scrollbar's handle down
 doesn't scroll the image, 

Because the thumb position corresponds to the start of the image,
no matter what part of the image is actually shown.  Fixing this
would be really hard!

   but clicking below the handle does scroll
 the image one page at a time.  Etc, etc.  

That's good :-)

   I'm assuming these bugs are
 all known because they're so apparent, but maybe that's not the case.

I know about them.

-- 
Kim F. Storm [EMAIL PROTECTED] http://www.cua.dk



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: tutorial: Control-X-prefix is now on M-x Control-X-prefix

2007-01-03 Thread Kim F. Storm
Lennart Borgman (gmail) [EMAIL PROTECTED] writes:

 I guess this does not interfere with the normal C-x handling (from a
 users point of view)? Cua mode does something similar. (Are there any
 collisions?)

 Should this be treated like the corresponding Cua mode case in the tutorial=

Probably it could just check that C-x is bound to a keymap of some sort,
rather than a specific keymap...?

-- 
Kim F. Storm [EMAIL PROTECTED] http://www.cua.dk



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: say where attempt to write backup file was

2007-01-03 Thread Kim F. Storm
Kevin Rodgers [EMAIL PROTECTED] writes:

 Kim F. Storm wrote:
 Stefan Monnier [EMAIL PROTECTED] writes:

 If the echo area automatically accomodates long messages, couldn't the
 absolute file name for both the original backup and the fallback be
 displayed?
 Yes, nowadays that will work.  I will make that change.
 I do not want to oppose this change, but I just want to remind people that
 long mesages are still undesirable, for example because minibuffer-only
 frames don't automatically grow.

 You can also turn off resize-mini-windows, and max-mini-window-height
 may also kick in ...

 So should the call to message in backup-buffer be wrapped in

 (let ((resize-mini-windows 'grow-only)
   (max-mini-window-height 1.0))
...)

That would be ok with me, as this is important information!

-- 
Kim F. Storm [EMAIL PROTECTED] http://www.cua.dk



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: tutorial: typo

2007-01-03 Thread Juanma Barranquero

On 1/3/07, Chris Moore [EMAIL PROTECTED] wrote:


-  (insert \n\nWith you current key bindings
+  (insert \n\nWith your current key bindings


Thanks, fixed.

BTW, I added a ChangeLog entry with a different e-mail address (the
one used in other entries). I suppose you're the same Chris Moore...?

   /L/e/k/t/u


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: safe-local-variable stuff

2007-01-03 Thread Reiner Steib
On Wed, Jan 03 2007, Peter Dyballa wrote:

 When I save a *compilation* buffer and I later visit that file, the
 GNU Emacsen from CVS (22.0.*, 23.0.0) complain about the
 default-directory variable used. Is there some reason why this
 variable is treated as unsafe? Why are the *compilation* buffers
 settings this unsafe variable at all?

I think it makes sense to mark `default-directory' as safe.  If nobody
objects, I'll commit this change:

--8---cut here---start-8---
--- files.el03 Jan 2007 12:13:53 +0100  1.875
+++ files.el03 Jan 2007 14:21:21 +0100  
@@ -2442,6 +2442,7 @@
 (mapc (lambda (pair)
(put (car pair) 'safe-local-variable (cdr pair)))
   '((buffer-read-only. booleanp) ;; C source code
+   (default-directory   . string-or-null-p) ;; C source code
(fill-column . integerp) ;; C source code
(indent-tabs-mode. booleanp) ;; C source code
(left-margin . integerp) ;; C source code
--8---cut here---end---8---

We could also use `file-directory-p' or `stringp' instead of
`string-or-null-p', but I think `string-or-null-p' is the best choice.

 Or did I miss some customisation?

 One AUCTeX variable is treated as unsafe, too: TeX-command-default. 

emacs-pretest is the wrong list for this.  I'll answer to this part on
auctex-devel (Cc-ing you).

Bye, Reiner.
-- 
   ,,,
  (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Image scroll issue

2007-01-03 Thread Chris Moore
[EMAIL PROTECTED] (Kim F. Storm) writes:

 Before you scroll the image window in Emacs, could you try to select
 some text in some other application (e.g. an xterm), so that the
 selection is not owned by Emacs.

Yes, and that doesn't change anything.  I'm still seeing
twice-secondly refreshes.  (In GNOME, on debian unstable, if that's
important).

I cut my .emacs down to just 2 lines:

  (setq load-path (cons ~/emacs/share/emacs/site-lisp/w3m/ load-path))
  (require 'w3m-load)

and the refreshes still happen twice per second.

It seems that freedesktop.org is down at the moment, so I found
another page with large images:

  http://imagecomics.com/blog.php

Interestingly, after I hit 'T' to load all images on this page, the
images take quite a while to finish loading.  Once the first big image
has downloaded and is displayed, and while the rest of the images are
still downloading, I can hit C-v and have it jump back many times per
second.  As soon as the other images have finished downloading,
however, it goes back to the 0.5 second timer.  My guess is that the
messages displayed in the message area while images are downloading is
what's causing the rapid refreshes during downloads.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Image scroll issue

2007-01-03 Thread Chris Moore
[EMAIL PROTECTED] (Kim F. Storm) writes:

 Chris Moore [EMAIL PROTECTED] writes:

 If I visit a .jpg file and hit C-v a few times, I scroll down the
 image, but when I get to the bottom, it wraps back to the top again.

 M- and M- don't do anything.  

 The scrollbar doesn't update to show
 my position through the image.  Dragging the scrollbar's handle down
 doesn't scroll the image, 

These 3 together may each be minor, but together they make it very
hard for me to get any feel for when I am in an image.  end-of-buffer
doesn't do anything, incrementally paging down loops forever, and
there's no feedback about my current position in the image.  For
images with repeating patterns, it's very easy to get lost.

Also, I was wrong when I said that the scrollbar doesn't update - it does
sometimes update, but that seems to be random.  Hold down C-v and let
it auto-repeat for a while, and depending (in some way) on the image
you're viewing, the scrollbar will move down a little.  When it
reaches the bottom, C-v fails with an 'end of buffer' error.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: 'woman' can't format the ssh man page

2007-01-03 Thread Chris Moore
[EMAIL PROTECTED] (Kim F. Storm) writes:

 IMO, even better would be '-man' as that is what's passed to nroff
 to format a normal man page.

Well, '-m' is the flag and 'an' in the name of the macro package it's
using, so 'an' isn't incorrect here, it's just not very clear.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: tutorial: typo

2007-01-03 Thread Chris Moore
Juanma Barranquero [EMAIL PROTECTED] writes:

 BTW, I added a ChangeLog entry with a different e-mail address (the
 one used in other entries). I suppose you're the same Chris Moore...?

I am.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: iswitchb-mode and iswitchb-global-map

2007-01-03 Thread Stefan Monnier
  1. Shouldn't `iswitchb-global-map' be renamed
  `iswitchb-mode-map'?  Wouldn't that better follow the
  minor-mode naming convention?
 
 Yes, but iswitchb-mode-map is already used for something else, so it would
 be an incompatible change.

 I see. I didn't know that. Is that map perhaps for a local version of the
 minor mode?

No, it's for the actual iswitchb minibuffer interaction.  So it should
probably be renamed from iswitchb-mode-map to iswitchb-minibuffer-map.
In any case: post-22.


Stefan


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: safe-local-variable stuff

2007-01-03 Thread Stefan Monnier
 + (default-directory   . string-or-null-p) ;; C source code

Why -or-null- ?  default-directory should never be nil.


Stefan


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


query-replace-regexp slow for evaluated lisp expressions

2007-01-03 Thread Aaron S. Hawley
Search and evaluated replace expressions with `query-replace-regexp'  
are a bit slow and do not scale well to large files, even with the  
simplest of lisp expressions, in particular when using automatic  
replace of all matches by hitting !?


For instance, create a buffer `foo' with 200 lines of foo:

  C-x b foo RET
  C-x ( foo RET C-x )
  C-u 200 C-x e

Then, do the most basic of replacements that would never be done in
practice, but shows how slow interactive regexp replacements can be:
Search for foo and just format the complete match as a string with a
lisp expression, and type ! to do it to all of them:

  M- C-M-% foo RET \,(format %s \) RET !

Compare this with:

  M- C-M-% foo RET foo RET !

Much quicker.  The former animates each replacement showing it being  
done, almost as if Emacs is hitting y interactively for me, rather  
than just zooming through them all, as the latter does.


Thanks for Emacs.
/a

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Applications/Emacs/Emacs.app/Contents/Resources/etc/DEBUG for instructions.


In GNU Emacs 23.0.0.1 (powerpc-apple-darwin8.8.0, *Step 9.0-rc1)
 of 2006-12-24 on yesod.local
configured using `configure '--with-ns' '--without-x'  
'--prefix=/Users/arobert/src/EmacsApp/emacs/nextstep/build/Emacs.app/Contents/Resources' '--exec_prefix=/Users/arobert/src/EmacsApp/emacs/nextstep/build/Emacs.app/Contents/MacOS' '--libexecdir=/Users/arobert/src/EmacsApp/emacs/nextstep/build/Emacs.app/Contents/MacOS/libexec' '--with-pop' '--enable-font-backend' 'CC=gcc-4.0' 'CFLAGS=-g -O2 -arch ppc -arch i386 -isysroot  
/Developer/SDKs/MacOSX10.4u.sdk''


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

Major mode: Lisp Interaction

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

Recent input:
M-% f o o return ! M- M- C-M-s M-p return M-%
M-p M-p C-k \  return ! M-tab C-x b * s c tab
return C-n C-n C-n C-n C-k C-_ help-echo C-x b
C-g C-g C-x b C-g C-g C-x C-b C-x o C-n C-n C-n C-p
return help-echo M- C-v M- C-g C-g C-x o C-n
C-k r e p o tab r tab return

Recent messages:
complete-tag: No tags table loaded; try M-x visit-tags-table
Undo!
Quit [4 times]
Mark set [2 times]
Quit [2 times]
Mark set
Making completion list... [2 times]
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: safe-local-variable stuff

2007-01-03 Thread Reiner Steib
On Wed, Jan 03 2007, Stefan Monnier wrote:

 +(default-directory   . string-or-null-p) ;; C source code

 Why -or-null- ?  default-directory should never be nil.

I though because the global value is nil.  But maybe this makes no
sense.

Bye, Reiner.
-- 
   ,,,
  (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


flyspell-buffer runs forever

2007-01-03 Thread Dan Jacobson
flyspell-buffer runs much longer than flyspell-region, except for
regions 1,$ (line 1 to EOF) and 2,$ whereupon I also have to kill it
with ^G. Region 3,$ is OK.

$ wget http://jidanni.org/abj/articles/20061230.html
$ LC_ALL=C LANG=C emacs -Q 20061230.html
flyspell-buffer

emacs-snapshot version of way back in 20060923, sorry.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


diff-mode all in one window

2007-01-03 Thread Dan Jacobson
One cannot find a setting to cause diff-mode to take over the whole
window. It insists on only occupying half the screen.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: tutorial: Control-X-prefix is now on M-x Control-X-prefix

2007-01-03 Thread Richard Stallman
  escape x iswitchb-mode return C-h t C-s more C-b return

I am not sure what iswitchb-mode does that causes this, but I think it
is not a disaster if strange things happen in the tutorial when you
enable a mode that is not recommended for beginners.

It would be nice to fix this some day, but we need not fix it now.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: 'woman' can't format the ssh man page

2007-01-03 Thread Richard Stallman
I will improve that error message.  Thanks.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: tutorial: Control-X-prefix is now on M-x Control-X-prefix

2007-01-03 Thread Chris Moore
Richard Stallman [EMAIL PROTECTED] writes:

   escape x iswitchb-mode return C-h t C-s more C-b return

 I am not sure what iswitchb-mode does that causes this, but I think it
 is not a disaster if strange things happen in the tutorial when you
 enable a mode that is not recommended for beginners.

 It would be nice to fix this some day, but we need not fix it now.

I think it has already been fixed.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Executable deleted after first run

2007-01-03 Thread Leo
* Richard Stallman (2007-01-02 22:35 -0500) said:
  
 I spoke too soon. It happened again but I have no idea how to
 reproduce. Just make sure the user running Emacs has the 'write'
 access to file 'emacs' in bin dir and after sometime it will happen.

 If you make a practice of always running Emacs under gdb, does it
 still fail?

 If so, you could then try putting a breakpoint at `unlink' and another
 breakpoint at `rename'.  These breakpoints will be hit occasionally
 for legitimate reasons, so I hope you can suffer through that for a
 few days.  That way, you will see if the deletion of the executable
 hits one of these breakpoints.

Could anyone provide more help on debugging this? I run Emacs as
Richard suggested. I got interrupted from time to time and almost each
time I check if 'emacs' is still there by using 'ls -l'. However,
'emacs' is being deleted and I can't tell when it is deleted.

-- 
Leo sdl.web AT gmail.com (GPG Key: 9283AA3F)



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Debian w3m-el bug

2007-01-03 Thread changxz
My system is Debian sid, and the emacs version is 
emacs-snapshot-unicode. The package w3m-el in Debian provides all files 
in emacs-w3m. I install the w3m-el_1.4.4-2_all.deb package, but failed 
to lauch w3m.  The .emacs file includes only one line: (require 
'w3m-load). The error information is as follows.


call-interactively: Cannot open load file: w3m

I dont't know how to cope with this situations.

BTW: I tried the w3m-el_1.4.99cvs20041209-1_all.deb. It also has some 
error while exploring many webs. The error message is error in process 
sentinel: w3m-form-replace: Symbol's function definition is void: 
w3m-truncate-string
error in process sentinel: Symbol's function definition is void: 
w3m-truncate-string


Is there any debian deb package available  for us??

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
  `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/snapshot-unicode/etc/DEBUG for instructions.


In GNU Emacs 23.0.0.1 (i486-pc-linux-gnu, GTK+ Version 2.8.20)
of 2006-11-15 on zj-laptop, modified by Debian
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--build' 'i486-linux-gnu' '--host' 
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var' 
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' 
'--with-gif' '--with-x=yes' '--with-x-toolkit=gtk' '--with-freetype' 
'--with-xft' '--enable-font-backend' 'CFLAGS=-DDEBIAN -g -O2' 
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu''


Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: zh_CN.GB2312
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US
locale-coding-system: chinese-iso-8bit-unix
default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
recentf-mode: t
display-time-mode: t
show-paren-mode: t
shell-dirtrack-mode: t
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t

Recent input:
down-mouse-1 mouse-1 M-x w 3 m return help-echo
down-mouse-1 mouse-1 help-echo down-mouse-1
mouse-movement mouse-movement drag-mouse-1 help-echo
help-echo tool-bar copy help-echo help-echo
help-echo help-echo help-echo help-echo M-x
r e p o tab r t tab tab return

Recent messages:
Loading cl-macs...done
Loading easy-mmode...done
Loading paren...done
Loading time...done
Loading /home/cxz/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading regexp-opt...done
call-interactively: Cannot open load file: w3m
Making completion list...
Loading emacsbug...done




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: flyspell-buffer runs forever

2007-01-03 Thread martin rudalics

 flyspell-buffer runs much longer than flyspell-region, except for
 regions 1,$ (line 1 to EOF) and 2,$ whereupon I also have to kill it
 with ^G. Region 3,$ is OK.

 $ wget http://jidanni.org/abj/articles/20061230.html
 $ LC_ALL=C LANG=C emacs -Q 20061230.html
 flyspell-buffer

 emacs-snapshot version of way back in 20060923, sorry.

Remarkable, indeed - Aspell, I presume.  Please do

(setq ispell-local-dictionary english)

before invoking `flyspell-buffer' and tell me whether it's any faster.

Next please try to verify with Emacs -Q and _Ispell_ that it doesn't run
forever.

If both of the above apply, please send a report to the maintainers of
Aspell.  BTW, didn't you want to complain there about getting those
dumbo choices ...



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Executable deleted after first run

2007-01-03 Thread Chris Moore
Leo [EMAIL PROTECTED] writes:

 Hi all,

 To reproduce,

 1. compile and install Emacs in dir ~/packages/emacs22

Compile it in ~/packages/emacs22 and install it to ~/packages/emacs22
as well?

Can you paste the ./configure line you used exactly?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Executable deleted after first run

2007-01-03 Thread Leo
* Chris Moore (2007-01-04 00:15 +0100) said:
  ^^^
 Leo [EMAIL PROTECTED] writes:

 Hi all,

 To reproduce,

 1. compile and install Emacs in dir ~/packages/emacs22

 Compile it in ~/packages/emacs22 and install it to ~/packages/emacs22
 as well?

Compile in /tmp/emacs and install  to ~/packages/emacs22. Sorry, I was
not clear.


 Can you paste the ./configure line you used exactly?

./configure --prefix=/home/sl392/packages/emacs22/ --with-gtk
--enable-locallisppath=/home/sl392/packages/emacs-local/site-lisp-22/
 make install  make install INSTALL_STRIP=-s

-- 
Leo sdl.web AT gmail.com (GPG Key: 9283AA3F)



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: diff-mode all in one window

2007-01-03 Thread Stefan Monnier
 One cannot find a setting to cause diff-mode to take over the whole
 window.  It insists on only occupying half the screen.

I believe it depends on pop-up-windows and things like that.


Stefan


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Executable deleted after first run

2007-01-03 Thread Chris Moore
Leo [EMAIL PROTECTED] writes:

 Can you paste the ./configure line you used exactly?

 ./configure --prefix=/home/sl392/packages/emacs22/ --with-gtk
 --enable-locallisppath=/home/sl392/packages/emacs-local/site-lisp-22/
  make install  make install INSTALL_STRIP=-s

Thanks.  I'll try using something similar tomorrow.

Someone asked whether the bug happens if you run

  ./emacs -Q

to run Emacs without your .emacs file or site-lisp configuration, but
I didn't see if you answered that.  I'm guessing that something in
your emacs-local/site-lisp-22/ directory might be to blame.

Also, did you try compiling and installing Emacs and *not* running it
at all?  Does it still disappear after a while?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: tutorial: Control-X-prefix is now on M-x Control-X-prefix

2007-01-03 Thread Lennart Borgman (gmail)

Kim F. Storm wrote:

Lennart Borgman (gmail) [EMAIL PROTECTED] writes:

  

I guess this does not interfere with the normal C-x handling (from a
users point of view)? Cua mode does something similar. (Are there any
collisions?)

Should this be treated like the corresponding Cua mode case in the tutorial=



Probably it could just check that C-x is bound to a keymap of some sort,
rather than a specific keymap...?

  


I think it is a good idea. Here is a patch that does that.

It also takes care of some new errors I found. I overlooked that the 
function-key-map and key-translation-map must be handled explicitly 
here. This did not show up because I earlier missed to test if 
key-binding returned nil.


I have tried to test this version and it seems to work for those cases 
we have been testing now at least.


Could someone please install these changes?



Index: tutorial.el
===
RCS file: /sources/emacs/emacs/lisp/tutorial.el,v
retrieving revision 1.10
diff -u -r1.10 tutorial.el
--- tutorial.el3 Jan 2007 12:02:24 -1.10
+++ tutorial.el4 Jan 2007 02:13:30 -
@@ -139,15 +139,19 @@
(key-description key)
 is the command `)
(insert (format %s db))
-(insert '.  
-However, your customizations have rebound it to 
the command `)

-(insert (format %s cb))
-(insert '.)
-(when mapsym
-  (insert   (For the more advanced user:
-   This binding is in the keymap `
-  (format %s mapsym)
-  '.)))
+(insert '.  )
+(if cb
+(progn
+  (insert
+   However, your customizations have rebound it to the 
command `)

+  (insert (format %s cb))
+  (insert '.)
+  (when mapsym
+(insert   (For the more advanced user:
+ This binding is in the keymap `
+(format %s mapsym)
+'.
+  (insert However your customiziations have removed this 
binding.))

(if (string= where )
(unless (keymapp db)
  (insert \n\nYou can use M-x 
@@ -429,9 +433,21 @@
 (def-fun (nth 0 kdf))
 (def-fun-txt (format %s def-fun))
 (rem-fun (command-remapping def-fun))
+ (fm-key  (if (key-binding key)
+  key
+(let ((k (lookup-key function-key-map key)))
+  (if (and k
+   (not (numberp k)))
+  k key
+ (tm-key  (let ((k (lookup-key
+key-translation-map
+fm-key)))
+(if (and k
+ (not (numberp k))
+ (not (keymapp k))) k fm-key)))
 (key-fun (if (eq def-fun 'ESC-prefix)
  (lookup-key global-map [27])
-(key-binding key)))
+(key-binding tm-key)))
 (where (where-is-internal (if rem-fun rem-fun def-fun
(if where
(progn
@@ -446,8 +462,9 @@
(cond ((eq key-fun def-fun)
   ;; No rebinding, return t
   t)
-  ((eq key-fun (command-remapping def-fun))
-   ;; Just a remapping, return t
+  ((and key-fun
+(eq key-fun rem-fun))
+   ;; Just a command remapping, return t
   t)
  ;; cua-mode specials:
  ((and cua-mode
@@ -471,12 +488,18 @@
  (timeout . copy-region-as-kill)))
 (setq def-fun-txt \C-c prefix\))
(and (eq def-fun 'Control-X-prefix)
+ (eq 'Control-X-prefix (lookup-key 
global-map [?\C-x]))

 (equal key-fun
'(keymap (timeout . kill-region)))
 (setq def-fun-txt \C-x prefix\
   (setq remark (list cua-mode replacement 'cua-mode))
   (setq where Same key)
   nil)
+  ((and (eq def-fun 'Control-X-prefix)
+(eq 'keymap (car (key-binding [?\C-x])))
+(eq 'Control-X-prefix (lookup-key global-map 
[?\C-x])))
+   ;; Looks like some local key binding was added to 
C-x ...

+   t)
  ;; viper-mode specials:
  ((and (boundp 'viper-mode-string)
(boundp 'viper-current-state)
@@ -571,6 +594,8 @@
  (where   (nth 3 ck))
  s1 s2 help-string)
 (unless (string= where Same key)
+   (when (string= where )
+ (setq 

Re: tutorial: Control-X-prefix is now on M-x Control-X-prefix

2007-01-03 Thread Lennart Borgman

Richard Stallman wrote:

  escape x iswitchb-mode return C-h t C-s more C-b return

I am not sure what iswitchb-mode does that causes this, but I think it
is not a disaster if strange things happen in the tutorial when you
enable a mode that is not recommended for beginners.

It would be nice to fix this some day, but we need not fix it now.



I have tried to fix this in the patch I just sent to the devel list. I 
used Kim's suggestion, see the post that contains the patch.



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: darwin-i386 build should include fink-installed packages like darwin-powerpc build does (patch included)

2007-01-03 Thread Richard Stallman
I installed your change.  Thanks.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: say where attempt to write backup file was

2007-01-03 Thread Richard Stallman
So should the call to message in backup-buffer be wrapped in

(let ((resize-mini-windows 'grow-only)
   (max-mini-window-height 1.0))
...)

Would you please verify that this succeeds in avoiding
problems in the cases of concern, and then send a patch?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Executable deleted after first run

2007-01-03 Thread Leo
* Chris Moore (2007-01-04 02:35 +0100) said:
  ^^^
 Leo [EMAIL PROTECTED] writes:

 Can you paste the ./configure line you used exactly?

 ./configure --prefix=/home/sl392/packages/emacs22/ --with-gtk
 --enable-locallisppath=/home/sl392/packages/emacs-local/site-lisp-22/
  make install  make install INSTALL_STRIP=-s

 Thanks.  I'll try using something similar tomorrow.

 Someone asked whether the bug happens if you run

   ./emacs -Q

I always did my test using 'emacs -Q' i.e. gdb ./emacs and then 'r
-Q'.

[...]
 Also, did you try compiling and installing Emacs and *not* running it
 at all?  Does it still disappear after a while?

I just did a fresh install and we'll see after 24 hours ;)

-- 
Leo sdl.web AT gmail.com (GPG Key: 9283AA3F)



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Bug#405508: flyspell-buffer runs forever

2007-01-03 Thread Dan Jacobson
Package: aspell
Version: 0.60.4-4
Severity: minor

$ wget http://jidanni.org/abj/articles/20061230.html
$ pstree shows
|-emacs -Q -eval (setq\040ispell-local-dictionary\040english) 20061230.html
 `-aspell -a -m -d english -B
 emacs-snapshot version of way back in 20060923, sorry.

mr If both of the above apply, please send a report to the maintainers of
mr Aspell.
OK



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Executable deleted after first run

2007-01-03 Thread Eli Zaretskii
 From: Leo [EMAIL PROTECTED]
 Date: Wed, 03 Jan 2007 21:59:31 +
 
 Could anyone provide more help on debugging this? I run Emacs as
 Richard suggested. I got interrupted from time to time and almost each
 time I check if 'emacs' is still there by using 'ls -l'. However,
 'emacs' is being deleted and I can't tell when it is deleted.

Does SYSLOG (or its equivalent on your kind of system) show anything
around the time `emacs' disappears that could shed a light on this?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Executable deleted after first run

2007-01-03 Thread Leo
* Chris Moore (2007-01-04 02:35 +0100) said:
  ^^^
 Also, did you try compiling and installing Emacs and *not* running
 it at all?  Does it still disappear after a while?

Very good question.

It turns out all hard links will be deleted after user log off. The
file system is: `type ncpfs (rw,nosuid,nodev)' as I am running Emacs
on my Univ's server.

,[ ncpfs ]
|  ncpfs allows you to mount volumes of NetWare servers under Linux
|  and to print to NetWare print queues and spool NetWare print queues
|  to the Linux printing system.
`

Is there any reason to choose hard link over symbolic link?

-- 
Leo sdl.web AT gmail.com (GPG Key: 9283AA3F)



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


[gmane.emacs.help] Re: raise frame no go

2007-01-03 Thread Leo
---BeginMessage---
Leo [EMAIL PROTECTED] writes:

 I want to use emacsclient to bring Emacs frame to the front. I tried
 several functions including raise-frame, x-focus-frame etc, but none
 of them worked. All they do is causing the Emacs frame to flash in
 the taskbar. Any ideas?

 This is tested in Gnome 2.16 in Fedora 6.
 Emacs 23: 20061218.

I just wanted to mention that I have the same problem. Running CVS
Emacs as of 2007-01-1 under Mandriva GNU/Linux, using GNOME with its
Metacity window manager. What I do is this:

 $ emacsclient -e (my-function)

and my-function is:

(defun my-function ()
 (select-frame-set-input-focus (selected-frame)))

(well, of course it does more than that but...)

Up until today I haven't played with emacsclient under GNU/Linux. I
have just used gnuclient  friends under w32. I am currently coding a
small command/url/hatever launcher in Emacs, and the current behavior
is quite frustrating (when Emacs is not the topmost window).

I see this code in xterm.c:

XTframe_raise_lower (f, raise_flag)
 FRAME_PTR f;
 int raise_flag;
{
  if (raise_flag)
{
  /* The following code is needed for `raise-frame' to work on
 some versions of metacity; see Window Manager
 Specification/Extended Window Manager Hints at
 http://freedesktop.org/wiki/Standards_2fwm_2dspec

 However, on other versions (metacity 2.17.2-1.fc7), it
 reportedly causes hangs when resizing frames.  */

  /* Lisp_Object frame;
 const char *atom = _NET_ACTIVE_WINDOW; */

  x_raise_frame (f);

  /* XSETFRAME (frame, f);
 Fx_send_client_event (frame, make_number (0), frame,
make_unibyte_string (atom, strlen (atom)),
make_number (32),
Fcons (make_number (1),
   Fcons (make_number (time (NULL) * 1000),
   Qnil))); */
}
  else
x_lower_frame (f);
}

Is is that piece of code that fails? My version of metaciy is 2.16.1.

/Mathias
---End Message---


-- 
Leo sdl.web AT gmail.com (GPG Key: 9283AA3F)
___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Debian w3m-el bug

2007-01-03 Thread Romain Francoise
changxz [EMAIL PROTECTED] writes:

 My system is Debian sid, and the emacs version is
 emacs-snapshot-unicode.

There is no such package in Debian (sid, or other).

 call-interactively: Cannot open load file: w3m

That's probably because the w3m package in Debian doesn't support
the Emacs flavor you're using.

 BTW: I tried the w3m-el_1.4.99cvs20041209-1_all.deb.

There is no such package in Debian, either.

I suggest you take this to whoever provided the packages you
mentioned above.  In any case, this is not a bug in Emacs.

Thanks,

-- 
Romain Francoise [EMAIL PROTECTED] | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
| ever free! --Bryan W. Procter


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug