Re: infloop in skeleton-insert

2007-04-11 Thread Miles Bader
Nick Roberts [EMAIL PROTECTED] writes: A character in emacs is represented by a normal integer. Because emacs does have the concept of characters, separate from integers, it's just that they share a concrete representation in lisp. I agree. What's an abnormal integer?

Re: infloop in skeleton-insert

2007-04-11 Thread Miles Bader
Nick Roberts [EMAIL PROTECTED] writes: `eq' compares immediate values in lisp. All integers in emacs lisp are immediate values. Floating point numbers in Emacs lisp are boxed -- allocated on the heap -- just like cons-cells or whatever. Well a symbol also seems to be a

Re: delete-trailing-whitespace misbehaves in scheme-mode

2007-04-11 Thread Eric Hanchrow
Jose == Jose A Ortega [EMAIL PROTECTED] writes: Jose In a buffer with scheme-mode active, Jose delete-trailing-whitespace treats a traling vertical bar Jose character (|) as trailing whitespace (that is, the character Jose is deleted when invoking delete-trailing-whitespace,

emacs-unicode: crash in char_string()

2007-04-11 Thread Lawrence Mitchell
In GNU Emacs 23.0.0.3 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-04-02 on lamacq.ph.ed.ac.uk Windowing system distributor `The X.Org Foundation', version 11.0.60802000 configured using `configure '--enable-font-backend' '--with-xft'

Re: Segfault in Emacs 23 when attempting to insert a negative integer (was: Re: infloop in skeleton-insert)

2007-04-11 Thread Kenichi Handa
In article [EMAIL PROTECTED], Lawrence Mitchell [EMAIL PROTECTED] writes: M-: (insert -1) RET resulting in a segmentation fault. The problem appears to lie in the code-path to char_string(), the code does not seem to check to see if the character to be inserted is valid: specifically,

Re: infloop in skeleton-insert

2007-04-11 Thread Stefan Monnier
Symbols are indeed on the heap, and in fact it's quite possible to have two identically named symbols which aren't eq. However in normal usage symbols are interned when they are read, which makes them eq. A more common (but still not very common either) term for interned is hash-cons'd.

Re: Crash in gc_sweep (SIGH!)

2007-04-11 Thread Kim F. Storm
Chong Yidong [EMAIL PROTECTED] writes: It's unlikely that such a bug would have gone undetected over the last few pretests. If it is a sublte bug in the GIF library, it may be been there forever. Could you me help check the last few checkins to the src directory for any

Re: [unicode-2] whitespace-auto-cleanup always replaces leading spaces with tabs

2007-04-11 Thread Braden McDaniel
On Mon, 09 Apr 2007 10:51:42 +0200, martin rudalics wrote: (defcustom whitespace-check-indent-whitespace indent-tabs-mode Flag to check indentation whitespace. This is the global for the system. That fails to do the right thing if the user changes indent-tabs-mode mode

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Lennart Borgman (gmail)
Lennart Borgman (gmail) wrote: I want to put an overlay at the top of a buffer and display several lines of text there. I use an overlay of length 1 at point 1 with a 'before-string property to do this. Doing this I see some strange display problems when moving point to the beginning of

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Chong Yidong
Lennart Borgman (gmail) [EMAIL PROTECTED] writes: I want to put an overlay at the top of a buffer and display several lines of text there. I use an overlay of length 1 at point 1 with a before-string property to do this... the cursor is displayed at the end of the first line of the

edebug-pop-to-buffer fails for dedicated windows

2007-04-11 Thread Nikolaj Schumacher
Hello, edebug-pop-to-buffer changes the buffer in the next window. However this results in an error, if that window is dedicated. regards, Nikolaj Schumacher ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org

Re: Why does etags ask me if I want to keep the old TAGS - I do not want to load a new

2007-04-11 Thread Eli Zaretskii
Date: Wed, 11 Apr 2007 07:53:27 +0200 From: Matzi Kratzi [EMAIL PROTECTED] Cc: emacs-pretest-bug@gnu.org If I have the *Message*-buffer in another window, I can now see this: k:/ERADIUM_kalle/LD_swmodules_005/TAGS and k:/ERADIUM_kalle/LD_SwModules_005/TAGS are the same file [2 times]

Re: Why does etags ask me if I want to keep the old TAGS - I do not want to load a new

2007-04-11 Thread Eli Zaretskii
Date: Wed, 11 Apr 2007 07:53:27 +0200 From: Matzi Kratzi [EMAIL PROTECTED] Cc: emacs-pretest-bug@gnu.org The problem appears to be the letter-case. I can repeat this by using etags from the pretest on the files in src in the pretest source. If I load process.c, run find-tag and change the

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Eli Zaretskii
From: Chong Yidong [EMAIL PROTECTED] Date: Wed, 11 Apr 2007 13:46:37 -0400 Cc: emacs-pretest-bug@gnu.org Lennart Borgman (gmail) [EMAIL PROTECTED] writes: I want to put an overlay at the top of a buffer and display several lines of text there. I use an overlay of length 1 at point 1

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Richard Matthew Stallman
The Windows system was using ClearType. Changing that setting fixed the problem. Thanks Eli. Should Emacs users always turn off use of ClearType? If so, can Emacs do it automatically? If not, is this documented in PROBLEMS or somewhere suitable?

Re: delete-trailing-whitespace misbehaves in scheme-mode

2007-04-11 Thread Richard Matthew Stallman
In a buffer with scheme-mode active, delete-trailing-whitespace treats a traling vertical bar character (|) as trailing whitespace (that is, the character is deleted when invoking delete-trailing-whitespace, either interactively or as a write hook). It seems that this does

Re: miss spell in `accept-process-output' doc string

2007-04-11 Thread Richard Matthew Stallman
The iff idiom is sufficiently common that we don't want to shy away from it just at this one place. So either we rule it out everywhere, or we use it liberally. Now that I think about it, I realize that many Emacs users have not studied the advanced mathematics where they would

Re: delete-trailing-whitespace misbehaves in scheme-mode

2007-04-11 Thread Jose A. Ortega
It seems that this does not happen in the current CVS. Looks like it's been this way for about 2 years. If that is the case, how come Jose gets this bug? His snapshot is surely not 2 years old. Yes, I was about to ask the same thing. But I've checked again, and noticed that with a

Re: miss spell in `accept-process-output' doc string

2007-04-11 Thread Kim F. Storm
Richard Matthew Stallman [EMAIL PROTECTED] writes: The iff idiom is sufficiently common that we don't want to shy away from it just at this one place. So either we rule it out everywhere, or we use it liberally. Now that I think about it, I realize that many Emacs users have

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Lennart Borgman (gmail)
Richard Matthew Stallman wrote: The Windows system was using ClearType. Changing that setting fixed the problem. Thanks Eli. Should Emacs users always turn off use of ClearType? If so, can Emacs do it automatically? If not, is this documented in PROBLEMS or somewhere suitable? No,

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Juanma Barranquero
On 4/11/07, Richard Matthew Stallman [EMAIL PROTECTED] wrote: Should Emacs users always turn off use of ClearType? No. ClearType improves readability, and the problems depend on the font used and perhaps other factors. In my setup, for example, ClearType is quite usable. If so, can Emacs do

Re: delete-trailing-whitespace misbehaves in scheme-mode

2007-04-11 Thread Glenn Morris
Richard Matthew Stallman wrote: It seems that this does not happen in the current CVS. Looks like it's been this way for about 2 years. If that is the case, how come Jose gets this bug? His snapshot is surely not 2 years old. I don't know. All I can say is that: emacs -q

dnd bug with setting case-fold-search nil

2007-04-11 Thread graphist
Hi,All:Thanks for your great job:). I'm using NTemacs22 and have found one small bug.If you add the following statement in .emacs file: (setq-default case-fold-search nil)you can't drag and drop some files to emacs (eg: with : in its full path). I have tried to modify the

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Eric Hanchrow
Richard == Richard Matthew Stallman [EMAIL PROTECTED] writes: Richard Should Emacs users always turn off use of ClearType? If Richard so, can Emacs do it automatically? Ugh. ClearType is a pretty nice feature, and it'd be very frustrating if using Emacs caused it to be turned off.

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Lennart Borgman (gmail)
Eli Zaretskii wrote: From: Chong Yidong [EMAIL PROTECTED] Date: Wed, 11 Apr 2007 13:46:37 -0400 Cc: emacs-pretest-bug@gnu.org Lennart Borgman (gmail) [EMAIL PROTECTED] writes: I want to put an overlay at the top of a buffer and display several lines of text there. I use an overlay of length 1

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Chong Yidong
Lennart Borgman (gmail) [EMAIL PROTECTED] writes: if (PT == MATRIX_ROW_END_CHARPOS (row)) { /* If the row ends with a newline from a string, we don't want the cursor there, but we still want it at the start of the string if the string starts in this row.

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Lennart Borgman (gmail)
Juanma Barranquero wrote: On 4/11/07, Richard Matthew Stallman [EMAIL PROTECTED] wrote: Should Emacs users always turn off use of ClearType? No. ClearType improves readability, and the problems depend on the font used and perhaps other factors. In my setup, for example, ClearType is quite

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Lennart Borgman (gmail)
Chong Yidong wrote: Lennart Borgman (gmail) [EMAIL PROTECTED] writes: if (PT == MATRIX_ROW_END_CHARPOS (row)) { /* If the row ends with a newline from a string, we don't want the cursor there, but we still want it at the start of the string if the string starts in

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Kim F. Storm
Lennart Borgman (gmail) [EMAIL PROTECTED] writes: Yes, I looked at the code but decided it takes me too long time at the moment. Kim, is this easy for you? Changes to redisplay are NEVER easy ... I made a seemingly trivial change to fix one bug ... and two years later someone finds a

Re: [unicode-2] whitespace-auto-cleanup always replaces leading spaces with tabs

2007-04-11 Thread martin rudalics
I set it in custom-set-variables; another likely scenario, I would think. whitespace.el has this form (defcustom whitespace-check-indent-whitespace indent-tabs-mode which, as Miles explained, gets evaluated when whitespace is loaded with the value `indent-tabs-mode' has at that time.

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Lennart Borgman (gmail)
Kim F. Storm wrote: Lennart Borgman (gmail) [EMAIL PROTECTED] writes: Yes, I looked at the code but decided it takes me too long time at the moment. Kim, is this easy for you? Changes to redisplay are NEVER easy ... I made a seemingly trivial change to fix one bug ... and two years later

Re: dnd bug with setting case-fold-search nil

2007-04-11 Thread Chong Yidong
graphist [EMAIL PROTECTED] writes: I'm using NTemacs22 and have found one small bug. If you add the following statement in .emacs file: (setq-default case-fold-search nil) you can't drag and drop some files to emacs (eg: with : in its full path). I haven't been able to reproduce this,

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Jason Rumney
Richard Matthew Stallman wrote: The Windows system was using ClearType. Changing that setting fixed the problem. Thanks Eli. Should Emacs users always turn off use of ClearType? These problems are not apparent with most fonts. I can only see them with some fonts if I reduce the

Re: KDE background colors

2007-04-11 Thread Stephen Berman
(I accidentally replied only to the poster, not the list, sorry.) On Wed, 11 Apr 2007 16:10:57 +0300 Shraga Bor-Sood [EMAIL PROTECTED] wrote: This is Emacs23 CVS checkout on Wed Apr 11 12:37:53 UTC 2007 of the emacs-unicode-2 branch. The system is OpenSUSE 10.0 x86_64 KDE 3.4.2 When running

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Jason Rumney
Juanma Barranquero wrote: ClearType cannot be deactivated for specific apps Yes it can. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Juanma Barranquero
On 4/12/07, Jason Rumney [EMAIL PROTECTED] wrote: Yes it can. Cool. How? (I searched Microsoft's docs, but they are less than clear sometimes and I didn't find anything which seemed to imply app-specific settings of ClearType...) Juanma

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Jason Rumney
Juanma Barranquero wrote: On 4/12/07, Jason Rumney [EMAIL PROTECTED] wrote: Yes it can. Cool. How? (I searched Microsoft's docs, but they are less than clear sometimes and I didn't find anything which seemed to imply app-specific settings of ClearType...) You can specify the antialiasing you

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Lennart Borgman (gmail)
Lennart Borgman (gmail) wrote: Kim F. Storm wrote: Lennart Borgman (gmail) [EMAIL PROTECTED] writes: Yes, I looked at the code but decided it takes me too long time at the moment. Kim, is this easy for you? Changes to redisplay are NEVER easy ... I made a seemingly trivial change to fix

Re: dnd bug with setting case-fold-search nil

2007-04-11 Thread Jason Rumney
graphist wrote: I'm using NTemacs22 and have found one small bug. If you add the following statement in .emacs file: (setq-default case-fold-search nil) you can't drag and drop some files to emacs (eg: with : in its full path). I have tried to modify the dnd-get-local-file-name function in file

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Lennart Borgman (gmail)
Lennart Borgman (gmail) wrote: I looked a bit at the code. (First time I used tags, quite nice.) Is it in set_point_both in intervals.c that the magic happens? It looks from that code like internally an intangible property is used in cases like this. And that was totally wrong of course.

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Lennart Borgman (gmail)
Chong Yidong wrote: Lennart Borgman (gmail) [EMAIL PROTECTED] writes: if (PT == MATRIX_ROW_END_CHARPOS (row)) { /* If the row ends with a newline from a string, we don't want the cursor there, but we still want it at the start of the string if the string starts in

Re: Display problems with 'before-string in overlay

2007-04-11 Thread Eli Zaretskii
Date: Wed, 11 Apr 2007 22:48:34 +0200 From: Lennart Borgman (gmail) [EMAIL PROTECTED] CC: Chong Yidong [EMAIL PROTECTED], emacs-pretest-bug@gnu.org, [EMAIL PROTECTED] FWIW, I wouldn't touch this so close to the release: if no one noticed this since July 2005, it's hardly a grave bug.

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Eli Zaretskii
Date: Wed, 11 Apr 2007 22:53:18 +0200 From: Lennart Borgman (gmail) [EMAIL PROTECTED] Cc: emacs-pretest-bug@gnu.org, Kim F. Storm [EMAIL PROTECTED] Maybe it would help users and save developers some time if the problems specific to common fonts where mentioned too? What problems are

Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Lennart Borgman (gmail)
Eli Zaretskii wrote: Date: Wed, 11 Apr 2007 22:53:18 +0200 From: Lennart Borgman (gmail) [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], Kim F. Storm [EMAIL PROTECTED] Maybe it would help users and save developers some time if the problems specific to common fonts where mentioned too? What problems