all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5672: 23.1; (intern-soft "") returns non-nil
@ 2010-03-02 23:28 Katsumi Yamaoka
  2010-03-03  0:40 ` Andreas Schwab
  2010-03-03  4:15 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Katsumi Yamaoka @ 2010-03-02 23:28 UTC (permalink / raw)
  To: 5672

Hi,

There's a program assuming (intern-soft STR) always return nil
if STR is the null string.  It works in Emacs 22, but doesn't in
Emacs 23.  That problem is easily solved by modifying the code
into: (unless (equal STR "") (intern-soft STR))

However, isn't it an Emacs 23 bug?  It's not so serious though.
It does not happen in Emacs that is launched using the arg -Q
but happens after loading the ~/.emacs file.  I found at least
`internal-set-lisp-face-attribute' that `set-face-attribute'
uses does intern "".  For instance:

$ emacs -Q
(intern-soft "")
 => nil
(internal-set-lisp-face-attribute
 'bold :font
 "-*-gothic-bold-r-*-*-16-*-*-*-*-*-iso8859-1"
 0)
 => bold
(intern-soft "")
 =>

I don't know what in `internal-set-lisp-face-attribute' does it.

Regards,







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-03 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-02 23:28 bug#5672: 23.1; (intern-soft "") returns non-nil Katsumi Yamaoka
2010-03-03  0:40 ` Andreas Schwab
2010-03-03  4:15 ` Stefan Monnier
2010-03-03  4:50   ` Katsumi Yamaoka
2010-03-03 15:18     ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.