Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8876383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:12:06+00:00 2026-06-14T19:12:06+00:00

This is driving me nuts and I’ve been on it all day. I am

  • 0

This is driving me nuts and I’ve been on it all day.

I am trying to write a process filter for communicating with a serial device. That works OK, but when I insert text in to a buffer, I want the buffer to scroll so I can see the text, just like it does when you type text in to a buffer. I insert text into several buffers showing different information on the serial line. As it is, every time I issue a serial command I have to drag each scrollbar down so I can see the text.

Changing ‘point’ just changes the insertion point – the window scrolling doesn’t follow. Attempts to call scrolling functions and ‘recenter’ seem to do nothing. How do I get the windows to scroll?

I’d also like to change the buffer so you can’t type in to it, or change the position of ‘point’ by clicking in the window. Is there a mode that I should be using or something?

Many thanks if anyone can help,

David.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T19:12:07+00:00Added an answer on June 14, 2026 at 7:12 pm

    I suspect your problem comes from the fact that point position is not attached to a buffer, but to the window displaying the buffer (since you can have different windows displaying the same buffer at different locations).

    You could try something like this:

    (with-selected-window (get-buffer-window YOUR-BUFFER)
      (goto-char (point-max)))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay so this was driving me nuts all day. Why does this happen: class
This is driving me nuts but I've been struggling with this all noon now
This is driving me nuts. I've been through all the posts on stackoveflow, but
This is driving me nuts. I've looked at all the relevant MSDN tutorials but
Ok, this is driving me nuts... I'm trying to rewrite my urls like this:
OK, this is driving me nuts. I'm sure it is trivial, but I've been
This has been driving me nuts. I keep getting the following exception System.InvalidOperationException: The
This is driving me nuts, I have been through every article I have seen
This is driving me nuts. I am trying to set a background image to
This is driving me nuts. I have the following code that, when a button

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.