emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: gnus-carpal-mode and mouse-autoselect-window


From: Klaus Zeitler
Subject: Re: gnus-carpal-mode and mouse-autoselect-window
Date: Wed, 06 Apr 2005 14:33:02 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (usg-unix-v)

>>>>> "Richard" == Richard Stallman <address@hidden> writes:
    Richard> 
    Richard>     It seems to me as if set-window-point and goto-char don't do
    Richard>     the same thing.
    Richard> 
    Richard> This is right--they are not the same.  set-window-point sets
    Richard> the point value of the window you specify, whether or not
    Richard> it is selected, and regardless of what buffer it is displaying.
    Richard> 
    Richard> I thought this was clearly documented, but if you did not
    Richard> find it clear enough, can you show me the specific places
    Richard> in the manual which I should clarify?

I was trying to understand an odd behavior (under some, I have to admit,
rather obscure circumstances) in a buffer automatically created by Gnus,
that I could fix for me when I replaced set-window-point with goto-char
in a Gnus function.

And no the elisp docu looks good to me. I had only used describe-function
to see what set-window-point is doing.


BTW while reading the function's docu, I jumped to node "Positions" and
read about positions and markers. The 2nd paragraph contains:

"Functions that expect an argument to be a position (an integer), but accept a
 marker as a substitute, normally ignore the marker buffer."

The meaning of this sentence isn't clear to me.


-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             address@hidden  |
 ------------------------------------------
---
You can make it illegal, but you can't make it unpopular.



reply via email to

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