Re: Crash during access_keymap

2005-11-14 Thread YAMAMOTO Mitsuharu
> On Tue, 15 Nov 2005 00:42:57 -0500, "Richard M. Stallman" <[EMAIL > PROTECTED]> said: > If the problem is reproducible, it should be fairly straightforward > to debug. Is there clobbered data or not? I myself don't see the problem, but according to the report from David, some keymap s

Re: set-window-point

2005-11-14 Thread Richard M. Stallman
Yes, you're right. If I use the patch below it works. Shall I install it, or is it a bug in set-window-point? If it's not a bug, I think this behaviour should be documented. Please install it. I think the failure of set-window-point in this case is a bug, but I don't know whether w

Re: No default value, but prompt says there is one: customize-variable

2005-11-14 Thread Richard M. Stallman
Does this fix give good results? Index: cus-edit.el === RCS file: /cvsroot/emacs/emacs/lisp/cus-edit.el,v retrieving revision 1.237 diff -c -c -r1.237 cus-edit.el *** cus-edit.el 23 Oct 2005 17:40:38 - 1.237 --- cus-edit.el 1

Re: Crash during access_keymap

2005-11-14 Thread Richard M. Stallman
Yeah, I only thought about the case that a pointer in the pure storage are changed so as to point to an impure object during the execution of a dumped one, but that may also occur in a dumping session. Pure objects should never be changed; that's why it is ok to make them pure. The ac

Re: Crash during access_keymap

2005-11-14 Thread Richard M. Stallman
It seems to be possible to have a check_pure_storage function which would traverse pure storage and validate that it only refers to other pure object -- and also that pure storage only contains valid objects (e.g. I don't think storing a buffer or window object in pure storage m

Re: Crash during access_keymap

2005-11-14 Thread Richard M. Stallman
David (and others) are distributing precompiled GNU Emacs binaries with additional files preloaded. And they see a problem (so-called "commandp" one) which I don't see with the CVS version. I suspect this is due to the situation above, but there's no evidence yet. If the problem

Re: Carbon with -nw: kCGErrorRangeCheck / Abort trap

2005-11-14 Thread YAMAMOTO Mitsuharu
> On Mon, 14 Nov 2005 12:14:39 +, David Reitter <[EMAIL PROTECTED]> > said: > The Carbon port starts up in TTY mode when given the -nw parameter. > When logged in as non-console user, i.e. remotely, the process > crashes. > To reproduce: > ssh [EMAIL PROTECTED] (...) > lucy:/Volume

weird defadvice bug with byte-compilation

2005-11-14 Thread Drew Adams
This is a weird one. I've pared it down to the bare bones, I think - if I comment out any part of this, the bug doesn't occur. This obviously comes from a larger context - when it is pared down, the code doesn't make much sense, of course. If the stuff is in the same file, or the order is differen

Re: No i-search for € in iso-8859-16 coded buffer

2005-11-14 Thread Juri Linkov
>> Is there a lisp syntax for U+20AC? > > AFAIK, no. Perhaps #u20AC is a good syntax for this. > > Perl uses the "\x{...}" notation for Unicode characters. Doing the > same in Emacs would produce #x{20AC}. Also Perl has the notation for > Unicode character names: \N{EURO SIGN}. In Emacs this wo

Re: No i-search for € in iso-8859-16 coded buffer

2005-11-14 Thread Peter Dyballa
Am 14.11.2005 um 21:50 schrieb Juri Linkov: I could live with this decision, but I would prefer a state in which the characters could be found. You can use `M-x unify-8859-on-decoding-mode' to toggle the charset of characters you want to search with isearch. This unify means here a divide?

Re: No i-search for € in iso-8859-16 coded buffer

2005-11-14 Thread Juri Linkov
>>character: € (01235114, 342604, 0x53a4c, U+20AC) > ... >> I think it was a good change to use lisp-readable syntax for `M-:', >> so the same syntax should be used for `C-x =' as well. > > Yeah... > > Is there a lisp syntax for U+20AC? AFAIK, no. Perhaps #u20AC is a good syntax for this.

Re: No i-search for € in iso-8859-16 coded buffer

2005-11-14 Thread Juri Linkov
> I could live with this decision, but I would prefer a state in which > the characters could be found. You can use `M-x unify-8859-on-decoding-mode' to toggle the charset of characters you want to search with isearch. The emacs-unicode-2 branch doesn't have this problem. -- Juri Linkov http:/

customize-group completions

2005-11-14 Thread Juri Linkov
Almost half of all completions available from the completion list of `customize-group' are not group names, but option names. This is due to the completion predicate in `customize-group': (lambda (symbol) (or (get symbol 'custom-loads) (get symbol 'custom-group))) It assumes

Re: Two buglets in diary-list-entries

2005-11-14 Thread Stefan Monnier
> (i) In my init-file default-major-mode is set to text-mode and as a > result, since diary-list-entries only checks for fundamental-mode, my > diary file isn't automatically visited in diary-mode. I've installed your patch for this, thank you. > (ii) In the diary display (I use fancy-diary-displ

Re: No default value, but prompt says there is one: customize-variable

2005-11-14 Thread Juri Linkov
> Put cursor on this text in some buffer: Buffer-menu-mode-width. > > M-x customize-variable > > The prompt says that the default is Buffer-menu-mode-width, but > completing-read is called with a nil DEF value, and you cannot pull > Buffer-menu-mode-width into the minibuffer with M-n. Thanks. I f

RE: No default value, but prompt says there is one: customize-variable

2005-11-14 Thread Drew Adams
> Put cursor on this text in some buffer: Buffer-menu-mode-width. > > M-x customize-variable > > The prompt says that the default is Buffer-menu-mode-width, but > completing-read is called with a nil DEF value, and you cannot pull > Buffer-menu-mode-width into the minibu

No default value, but prompt says there is one: customize-variable

2005-11-14 Thread Drew Adams
emacs -q Put cursor on this text in some buffer: Buffer-menu-mode-width. M-x customize-variable The prompt says that the default is Buffer-menu-mode-width, but completing-read is called with a nil DEF value, and you cannot pull Buffer-menu-mode-width into the minibuffer with M-n. In GNU Emacs

Carbon with -nw: kCGErrorRangeCheck / Abort trap

2005-11-14 Thread David Reitter
The Carbon port starts up in TTY mode when given the -nw parameter. When logged in as non-console user, i.e. remotely, the process crashes. To reproduce: ssh [EMAIL PROTECTED] (...) lucy:/Volumes/Sista/Applications/Emacs.app/Contents/MacOS test$ ./ Emacs -nw kCGErrorRangeCheck : Window Server

Re: Crash during access_keymap

2005-11-14 Thread YAMAMOTO Mitsuharu
> On Mon, 14 Nov 2005 10:49:03 +0100, [EMAIL PROTECTED] (Kim F. Storm) said: > It seems to be possible to have a check_pure_storage function which > would traverse pure storage and validate that it only refers to > other pure object -- and also that pure storage only contains valid > objects (

Re: No i-search for € in iso-8859-16 coded buffer

2005-11-14 Thread Peter Dyballa
Am 14.11.2005 um 02:03 schrieb Juri Linkov: In a buffer starting with ';;; -*- mode: Text; coding: iso-8859-16; -*-' (-r: in the mode-line) and holding the characters in the range 160-255 i-search for € is not successful: € = 244 = 164 = A4 = U+20AC = E2 82 AC : EURO SIGN That's beca

Re: Crash during access_keymap

2005-11-14 Thread Kim F. Storm
YAMAMOTO Mitsuharu <[EMAIL PROTECTED]> writes: >> On Sun, 13 Nov 2005 23:54:29 -0500, "Richard M. Stallman" <[EMAIL >> PROTECTED]> said: > >>> So, if there's a non-pure object that is only pointed to by pure >>> objects, which may happen if the assumption for the pure storage is >>> viola

Re: Crash during access_keymap

2005-11-14 Thread YAMAMOTO Mitsuharu
> On Sun, 13 Nov 2005 23:54:29 -0500, "Richard M. Stallman" <[EMAIL > PROTECTED]> said: >> So, if there's a non-pure object that is only pointed to by pure >> objects, which may happen if the assumption for the pure storage is >> violated, then the object is reachable but get collected.