Questions tagged [window-point]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
2answers
796 views

How to persistently move the cursor in a buffer other than the current one?

NB: The post How to move point to the end of another buffer, using `with-current-buffer` and `goto-char`? presumably asks the same question as this one, but the answers given to it do not readily ...
3
votes
2answers
290 views

What is the purpose of this code in `append-to-buffer`?

The append-to-buffer function's definition ends with: (dolist (window windows) (when (= (window-point window) point) (set-window-point window (point)))))))) What is the purpose of this? ...
2
votes
2answers
504 views

How to move point to the end of another buffer, using `with-current-buffer` and `goto-char`?

I'm trying to implement «effective append» for log buffer, e.g. if a point is at point-max position then insert text and move point to new point-max, otherwise append text and preserve point position. ...
1
vote
1answer
31 views

How can I get the value of left top and right bottom point value of current window?

How can I get the value of left top and right bottom point value of current working window(the window currently focusing on)?
0
votes
1answer
50 views

Inconsistent point in an elisp program and in a visible non-focused process buffer

I am able to collect output data from a process, but I don't understand the coordination of point and process-mark. In particular, the visible cursor in a non-selected window visiting the buffer does ...
0
votes
2answers
50 views

windmove: write a function to move two times (e.g. down and right)?

I'm using the windmove package to move my cursor between windows. In addition, I want to define a function to move twice, e.g. down first and right second. The following function only do the "down" ...