Re: read-face-name bugs

2006-07-02 Thread Richard Stallman
Well, I don't really care what you do with my bug report, but my point is that (I believe that) it does *not* reliably do the right thing. It does the right thing only if there is in fact no list of faces that matches ((foreground-color . Firebrick)...). They have different data

RE: read-face-name bugs

2006-07-02 Thread Drew Adams
Well, I don't really care what you do with my bug report, but my point is that (I believe that) it does *not* reliably do the right thing. It does the right thing only if there is in fact no list of faces that matches ((foreground-color .

Re: read-face-name bugs

2006-07-01 Thread Richard Stallman
To test this, do M-x debug-on-entry read-face-name, and then M-x customize-face font-lock-comment-face. Then, put point on the second sample text (next to the foreground field), and do M-: (read-face-name foo). Step through the debugger,

RE: read-face-name bugs

2006-07-01 Thread Drew Adams
To test this, do M-x debug-on-entry read-face-name, and then M-x customize-face font-lock-comment-face. Then, put point on the second sample text (next to the foreground field), and do M-: (read-face-name foo).

Re: read-face-name bugs

2006-06-30 Thread Richard Stallman
2. I think the code is wrong for the case where there is a face property like this on the character: ((foreground-color Firebrick)). It seems to give the right results: it finds no face names and `faces' is empty. In what way do you think this is incorrect? To test

RE: read-face-name bugs

2006-06-30 Thread Drew Adams
2. I think the code is wrong for the case where there is a face property like this on the character: ((foreground-color Firebrick)). It seems to give the right results: it finds no face names and `faces' is empty. In what way do you think this is

Re: read-face-name bugs

2006-06-28 Thread Richard Stallman
I didn't say it was crucial; I said it was inconsistent and inconvenient. Why create an exceptional interface and then have to add stuff in the doc string to compensate for the confusion that exception introduces? What is gained by this? It is convenient for the places it is

Re: read-face-name bugs

2006-06-27 Thread Richard Stallman
1. read-face-name's prompt arg should be like every other prompt arg. It should not automatically add a colon and space. Besides, the doc string mentions that you shouldn't add a space (without saying why), but it neglects to mention that you shouldn't add a colon

RE: read-face-name bugs

2006-06-27 Thread Drew Adams
1. read-face-name's prompt arg should be like every other prompt arg. It should not automatically add a colon and space. Besides, the doc string mentions that you shouldn't add a space (without saying why), but it neglects to mention that you shouldn't add