http://bugzilla.novell.com/show_bug.cgi?id=577335 http://bugzilla.novell.com/show_bug.cgi?id=577335#c0 Summary: opt_gnome-compat incorrectly sets INFOPATH, causing empty Info directory for Emacs Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kq8z67r6309fo9001@sneakemail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-1.2 Firefox/3.6 The symptom is an empty top-level Info directory in Emacs' info viewer (C-h i). The problem is that, per the documentation for Info-directory-list: If nil, meaning not yet initialized, Info uses the environment variable INFOPATH to initialize it, or `Info-default-directory-list' if there is no INFOPATH variable in the environment, or the concatenation of the two if INFOPATH ends with a colon. opt_gnome-compat.sh sets INFOPATH to just "/opt/gnome/share/info", which usually has somewhere between none and almost none of the info files on the system. Thus Emacs ignores Info-default-directory-list, and since few people set Info-directory-list themselves, Emacs doesn't find any info files to show. In my case, I don't actually need opt_gnome-compat at all: it just persists because of some mysterious garbage files in /opt/gnome. But in general, it should probably make sure to append an ":" to make Emacs happy. I suppose it's even more correct to leave off the terminal ":" if INFOPATH was already set and didn't have one, and make sure to retain it otherwise, but that seems like an unlikely case. Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.