Re: (info (elisp)Other Display Specs)

2005-12-21 Thread Richard M. Stallman
Thanks.  I will clean this up a different way.


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


Re: lazy-completion-table's args are evaluated too late

2005-12-21 Thread Stefan Monnier
 Looks like it works indeed, although it breaks my code because my code
 relies on lexical-let which doesn't work correctly when the lambdas are
 built at run time as is the case in your code.

 So maybe I'll be better off with the current code.  Hmm

 I can install my fix, or I can leave it out, but I can't do both at once.
 Too bad you're only a saint, eh?

 The function as changed this way seems to be more capable and better,
 which seems to suggest I should install my fix.
 Agreed.

 Can you fix your code to work with the function's new capability?
 That's what I'm about to try,

I can indeed fix my code, but it then becomes really ugly, much uglier than
what I'm currently using.

Also looking at the existing uses of lazy-completion-table, I see that
bibtex.el relies on the current behavior.

Maybe it's better to leave the code as is.
If I want `arg' to be evaluated early, I can easily replace

 (lazy-completion-table var fun arg)
with
 (lazy-completion-table var `(lambda () (fun ',arg)))

[ which is what I'm currently using. ]


Stefan


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


Re: url-cookie-file noise

2005-12-21 Thread Stefan Monnier
 Incidentally, ~/.url should probably be ~/.emacs.d/url instead.
 It should use the latter if .emacs.d exists and ~/.url does not
 exist.  (That's the usual criterion.)

 Would you like to fix it?

Done,


Stefan


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


Re: Flyspell context menu buggy

2005-12-21 Thread Stefan Monnier
 Could you describe more precisely?  E.g. which button do you press, which
 toolkit, which version of Emacs, ...?

 Gtk, up-to-date version of Miles arch import. Pressing mouse-2.

 Actually, I've just tested the same with Debian's emacs-snapshot, and
 it doesn't seem to have the problem. A single click just makes the
 menu disapear. So, probably this has been fixed, and the arch import
 is late.

I doubt it.  Miles's Arch archive is kept fairly well up-to-date (less than
a day late, usually, tho of course during vacations it can be up to a wekk
or 2 late).

OTOH I now remember that the problem is not in flyspell but in the command
you use just before clicking on the incrrectly spelled text.

So please show us a precise recipe starting from `emacs -Q'.


Stefan


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


make bootstrap failure on Solaris 10 (sparc)

2005-12-21 Thread NAKAJI Hiroyuki
Hello,

On Solaris 10 (sparc), the latest CVS Emacs cannot make bootstrap. I used
Sun Studio 11 and GNU Make 3.80.

The error is like this.

cc -c -DHAVE_CONFIG_H -I. -I../src -I/export/home/nakaji/emacs/lib-src 
-I/export/home/nakaji/emacs/lib-src/../src -xtarget=ultra2 -xarch=v9 
-I/usr/pkg/include -xtarget=ultra2 -xarch=v9 -I/usr/pkg/include 
/export/home/nakaji/emacs/lib-src/update-game-score.c \
  -DHAVE_SHARED_GAME_DIR=\/usr/local/var/games/emacs\ \
emacstool: /export/home/nakaji/emacs/lib-src/emacstool.c
/export/home/nakaji/emacs/lib-src/update-game-score.c:
/export/home/nakaji/emacs/lib-src/emacstool.c:
/export/home/nakaji/emacs/lib-src/emacstool.c, line 52: cannot find include 
file: suntool/sunview.h
/export/home/nakaji/emacs/lib-src/emacstool.c, line 53: cannot find include 
file: suntool/tty.h
/export/home/nakaji/emacs/lib-src/emacstool.c, line 54: cannot find include 
file: suntool/ttysw.h
/export/home/nakaji/emacs/lib-src/emacstool.c, line 91: warning: old-style 
declaration or incorrect type for: Frame
/export/home/nakaji/emacs/lib-src/emacstool.c, line 91: syntax error before 
or at: frame
/export/home/nakaji/emacs/lib-src/emacstool.c, line 91: warning: old-style 
declaration or incorrect type for: frame
/export/home/nakaji/emacs/lib-src/emacstool.c, line 95: warning: old-style 
declaration or incorrect type for: Tty
/export/home/nakaji/emacs/lib-src/emacstool.c, line 95: syntax error before 
or at: tty_win
/export/home/nakaji/emacs/lib-src/emacstool.c, line 95: warning: old-style 
declaration or incorrect type for: tty_win
/export/home/nakaji/emacs/lib-src/emacstool.c, line 104: warning: old-style 
declaration or incorrect type for: Tty
/export/home/nakaji/emacs/lib-src/emacstool.c, line 104: syntax error before 
or at: tty_view
/export/home/nakaji/emacs/lib-src/emacstool.c, line 104: warning: old-style 
declaration or incorrect type for: tty_view
/export/home/nakaji/emacs/lib-src/emacstool.c, line 113: warning: old-style 
declaration or incorrect type for: Icon
/export/home/nakaji/emacs/lib-src/emacstool.c, line 113: syntax error before 
or at: frame_icon
/export/home/nakaji/emacs/lib-src/emacstool.c, line 113: warning: old-style 
declaration or incorrect type for: frame_icon
/export/home/nakaji/emacs/lib-src/emacstool.c, line 117: cannot find include 
file: images/terminal.icon
/export/home/nakaji/emacs/lib-src/emacstool.c, line 118: warning: syntax 
error:  empty initializer
/export/home/nakaji/emacs/lib-src/emacstool.c, line 119: syntax error before 
or at: 64
/export/home/nakaji/emacs/lib-src/emacstool.c, line 119: warning: function 
prototype parameters must have types
/export/home/nakaji/emacs/lib-src/emacstool.c, line 119: warning: old-style 
declaration or incorrect type for: mpr_static
/export/home/nakaji/emacs/lib-src/emacstool.c, line 126: syntax error before 
or at: Event
/export/home/nakaji/emacs/lib-src/emacstool.c, line 126: warning: old-style 
declaration or incorrect type for: Event
/export/home/nakaji/emacs/lib-src/emacstool.c, line 126: warning: old-style 
declaration or incorrect type for: event
/export/home/nakaji/emacs/lib-src/emacstool.c, line 128: syntax error before 
or at: int
/export/home/nakaji/emacs/lib-src/emacstool.c, line 187: cannot recover from 
previous errors
cc: acomp failed for /export/home/nakaji/emacs/lib-src/emacstool.c
gmake[2]: *** [update-game-score.o] Error 2
gmake[2]: Leaving directory `/export/home/nakaji/emacs/lib-src'

I think the extra \ causes this error,

  -DHAVE_SHARED_GAME_DIR=\/usr/local/var/games/emacs\ \
  ^
which appears at line:468 of lib-src/Makefile.in.

Here is one line diff.

Index: lib-src/Makefile.in
===
RCS file: /cvsroot/emacs/emacs/lib-src/Makefile.in,v
retrieving revision 1.145
diff -u -r1.145 Makefile.in
--- lib-src/Makefile.in 15 Sep 2005 13:08:01 -  1.145
+++ lib-src/Makefile.in 21 Dec 2005 05:23:28 -
@@ -465,7 +465,7 @@
 
 update-game-score.o: ${srcdir}/update-game-score.c ../src/config.h $(GETOPT_H)
$(CC) -c ${CPP_CFLAGS} ${srcdir}/update-game-score.c \
- -DHAVE_SHARED_GAME_DIR=\$(gamedir)\ \
+ -DHAVE_SHARED_GAME_DIR=\$(gamedir)\
 
 /* These are NOT included in INSTALLABLES or UTILITIES.
See ../src/Makefile.in.  */

Thanks.
-- 
NAKAJI Hiroyuki


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


Re: font-lock-add-keywords in hi-lock.el

2005-12-21 Thread Bill Wohler
Romain Francoise [EMAIL PROTECTED] writes:

 Bill Wohler [EMAIL PROTECTED] writes:

 Was this patch expected to fix the broken Gnus highlighting me and
 others have reported?

 No, we fixed this one on November 24th.

This bug (Gnus losing its highlighting) reared its ugly head again a
couple of times in the past two days for me.

-- 
Bill Wohler [EMAIL PROTECTED]  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.



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


C-x 4 and C-x 5 binding not available for M-.

2005-12-21 Thread M Jared Finder

Steps to reproduce:

1. Start up Emacs.
2. Enter the key sequence C-x 4 M-..
3. Notice the error message you get.

(Also try the key sequence C-x 5 M-..)

Expected result:

C-x 4 M-. and C-x 5 M-. should be bound to find-tag-other-window and 
find-tag-other-frame, respectively.  This mirrors the bindings for 
find-file (C-x C-f), switch-to-buffer (C-x b), and dired (C-x d).


  -- MJF

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/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.6.10)
 of 2005-12-15 on pacem, modified by Debian
X server distributor `The X.Org Foundation', version 11.0.60802000
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' 
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.50/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.50/leim' 
'--with-x=yes' '--with-x-toolkit=gtk' 'CFLAGS=-DDEBIAN -g 
-Wno-pointer-sign -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: 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
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  auto-compression-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
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
C-h k M-. C-h k C-x b C-h k C-x 4 b C-h k C-x 5 b help-echo
help-echo help-echo help-echo help-echo menu-bar
help-menu report-emacs-bug

Recent messages:
(/usr/bin/emacs-snapshot -q --no-site-file --eval (gnuserv-start))
For information about the GNU Project and its goals, type C-h C-p.
eval: Symbol's function definition is void: gnuserv-start
Loading help-mode...done
Loading help-fns...done
Type C-x 1 to remove help window.
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: lisp-complete-symbol is too loquacious in minibuffer

2005-12-21 Thread Romain Francoise
Katsumi Yamaoka [EMAIL PROTECTED] writes:

 Thanks, but I have a write access only to Gnus (in cvs.gnus.org
 which is gatewayed to Emacs CVS), I haven't worked on the paper
 to Emacs.  Could anyone please take it on?

Thanks, I resynchronized your patch and installed it.  And by the way,
you do have papers for Emacs.

Stefan, there's a bug in your latest changes to this function: when a
completion has been found, the *Completions* buffer is buried but its
window remains visible.  In previous versions, the window was deleted
as well.

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