[ESS-bugs] select-window (C-c M-j) doesn't give input focus to target (*R*) [Carbon GNU Emacs]

Martin Maechler maechler at stat.math.ethz.ch
Mon Apr 3 15:43:28 CEST 2006


>>>>> "StEgl" == Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk>
>>>>>     on Mon, 3 Apr 2006 13:46:37 +0100 writes:

    StEgl> Dear all,

    StEgl> I've committed some code to SVN to fix this bug that David noted.  

thanks!

    StEgl> I have not yet tested it on XEmacs...  David, are you
    StEgl> able to check out this version from SVN?

    StEgl> ----------------------------------------------------------------------
    StEgl> The latest development version of ESS is available via
    StEgl> `https://svn.R-project.org/ESS/', the ESS Subversion repository.  If
    StEgl> you have a Subversion client (see `http://subversion.tigris.org/'), you
    StEgl> can download the sources using:
    StEgl> % svn checkout https://svn.r-project.org/ESS/trunk PATH
    StEgl> ----------------------------------------------------------------------



    StEgl> Yes.  It probably only worked because I use
    >> focus-follows-mouse StEgl> behaviour, and maybe enough other
    >> people do
    >> 
    >> yes, I (and almost all in our statistics "department") have been
    >> doing so forever...

    StEgl> (Martin: do you have focus-follows-mouse set to t?)

eehm ... didn't know/remember this exists in emacs; but indeed
it is  t -- must be automagical since I've never touched it AFAIK.

    >> >> I would probably test for (fboundp
    >> >> `select-frame-set-input-focus) before using it. You may need
    >> >> to keep the set-mouse-position business for XEmacs or very
    >> >> old versions of GNU Emacs - it's worth checking.
    >> 
    StEgl> yes, not sure if it exists in XEmacs... will check.
    >> 
    >> Good!
    >> So the fix should hopefully also go into the upcoming release of
    >> ESS 5.3.0.

    StEgl> What I have done is to copy the code from gnus-util.el which has a
    StEgl> similar function, and presumably works for both Emacs and XEmacs.
    StEgl> (Although David, if you look closely, gnus-util.el does not test for
    StEgl> mac -- I will send a bug report and cc: you in.)

    StEgl> Stephen




More information about the ESS-bugs mailing list