emacs-devel
[Top][All Lists]
Advanced

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

Re: rcirc update


From: Ryan Yeske
Subject: Re: rcirc update
Date: Sun, 17 Jun 2007 16:33:04 -0700

Miles Bader <address@hidden> writes:

> Ryan Yeske <address@hidden> writes:
>>> Note that Elisp is case-sensitive...
>>
>> Hmm, that is true.  I was following the convention that function
>> arguments are capitalized like that...  but for these keywords it
>> probably is not the right thing.  The way it was written before was
>> difficult to read, this is probably not much better.
>
> I think the convention is to quote symbols like `blargh' (which can look
> slightly ugly sometimes, but at least it gets the point across).
>
> E.g., see the docstring for `set-face-attribute'.

Thanks for the pointer, that looks much better.

Seeing that docstring got me thinking, should I use `:symbol' or just
`symbol' for the symbols in `rcirc-connections'?

(setq rcirc-connections '(("irc.freenode.net"
                           :channels ("#emacs" "#rcirc") 
                           :nick "rcy")))

or 

(setq rcirc-connections '(("irc.freenode.net"
                           channels ("#emacs" "#rcirc") 
                           nick "rcy")))

-- 
Ryan




reply via email to

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