Evaluating the expression (x-get-selection 'SECONDARY) raises an error in emacs -Q on my Ubuntu Hardy Linux (using my daily emacs CVS-build)!. I believe it should instead return nil. Thanks for Emacs, Per Nordlöw My build settings: In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-08-20 on bahjan Windowing system distributor `The X.Org Foundation', version 11.0.10400090 configured using `configure '--prefix=/home/per/alt' '--enable-font-backend' '--with-xft' '--with-freetype' '--with-rsvg' '--with-x-toolkit=gtk' 'CC=ccache gcc-4.2' 'CFLAGS= -march=athlon64 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -O3 -fomit-frame-pointer -funroll-loops -ftree-vectorize -ftree-vectorizer-verbose=1' 'LDFLAGS=-s'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: sv_SE.UTF-8 value of $XMODIFIERS: @im=SCIM locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-d C-g M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit