Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A mark is inserted every time a character is inserted in a buffer #14

Open
hckiang opened this issue Aug 3, 2022 · 1 comment
Open

Comments

@hckiang
Copy link

hckiang commented Aug 3, 2022

It seems to only happen with (setq line-reminder-show-option 'indicators), let's say, with the following setup:

(setq line-reminder-show-option 'indicators)
(setq line-reminder-bitmap 'filled-rectangle)
(transient-mark-mode -1)

Step to reproduce:

  1. Go to the scratch buffer. The first line is ;; This buffer is...
  2. Move cursor to the first T in the This and make a mark using C-SPC
  3. Insert a character some where, for example a ., so that now the first line become ;; Thi.s buffer is...
  4. Move the cursor to the r in buffer
  5. Press C-w to run kill-region

Result:
The text between . and r is killed. The resulting text become ;; Thi. is.

Expected Result:
The text becomes ;; is. This is because the mark were set to where T is in step 2.

@jcs090218
Copy link
Member

Hmm... just notice this bug. Thanks for the report. ❤️ I guess I would never know this since I always have transient-mark-mode enabled. 😅

I might need to further investigate the issue since this is most likely a conflict with other plugin, which is transient-mark-mode in this case. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants