help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: deskheight.el v0.2


From: Kevin Rodgers
Subject: Re: deskheight.el v0.2
Date: Thu, 30 Jan 2003 11:26:27 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Bruce Ingalls wrote:

;;Not sure why interactive mode does not return a value, while compiled mode
;;does.


What is "interactive mode"?  Usually it would mean executing `M-x
desktop-height-approx', but then you contrast it to "compiled mode"
so I assume you are compiling it into a .elc.  Did you compile and
load it into a non-customized emacs (i.e. emacs -q --no-site-file)?


;;;;;;        desktop-height-approx    v0.2

You posted this as "deskheight.el v0.2", but it has a "desktop-height-approx
v0.2" comment and defines a function called desktop-height-approx. Please be
consistent.

;;Use this, by calling the following in your .emacs:
;; (setq use-height desktop-height-approx)


That is wrong: desktop-height-approx is a function, not a variable.


;; (if (string-match "XEmacs" (emacs-version))
;;     (setq frame-initial-frame-plist `(height ,use-height))
;;   (setq default-frame-plist `(height . ,use-height))) ;Else Emacs
;;__________________________________________________________________________


--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

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