emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixing numerous `message' bugs..


From: Dave Goel
Subject: Re: Fixing numerous `message' bugs..
Date: Mon, 10 Dec 2007 15:31:12 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Andreas Schwab <address@hidden> writes:


> want to use EQ instead anyway, since you are comparing with a symbol.

Thanks.  Attached is a new patch, which also seems much more elegant.  
I am not a C expert.  Can some one comment on it?  Shall I commit it?

I have tested it in these ways, and it seems to implement the
suggested functionality completely.

(message t)  
nil

(message t nil) 
nil

(message t "%s") 
"%s"

We changed args[0], Is the value intact? -- 

(let ((a t))
  (message a)
  a)    

t


(message t "%%")
"%%"

(message "%%")
"%"


(message t nil 1 2 3 4 ) 
nil



(message t "a" 1 2 3 4 ) 
"a"



(message "%s" 1 2 3 4 ) 
"1"




----

Attachment: editfns.c.diff200711
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]