-
Notifications
You must be signed in to change notification settings - Fork 6
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
Button lock might cause removal of text property. #3
Comments
This is possibly also caused by the bug.. That is a kind of wild guess.... |
In emacs24, trying to prepend text to the filename triggered a "text is read-only" error.
Your guess seems rigjht: I reported that bug originally and I was using fixmee-mode. It seems to trigger the issue in both wdired and dired-efap. |
Thanks! I can duplicate the issue in wdired-mode, though I have yet to track down the cause. I had seen it before, and just assumed it was a bug in wdired-mode. |
I haven't been able to reproduce this before looking into what was happening in Until yesterday the code below was in my init.el to work around the issue ;; TODO figure out exactly what is prohibiting wdired mode from allowin
;; the first character to be edited. This is mostly disabling stuff at
;; random.
;; related: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17541
;; Rhe function that is resposible to do this is wdired-preprocess-files.
;; this is a manual way of fixing it for me in that function:
;; I cannot reproduce this reliably. If the problem does not happen
;; with some modes disabled I might continue to investigate
(defvar wdired-forbidden-modes
'(dired-filter-mode
dired-omit-mode
dired-hide-details-mode
font-lock-mode
))
(defvar wdired-disabled-modes nil)
(defadvice wdired-change-to-wdired-mode (before expand-view activate)
(setq-local wdired-disabled-modes '())
(--each wdired-forbidden-modes
(and (boundp it)
(symbol-value it)
(add-to-list 'wdired-disabled-modes it )
(funcall it -1))))
(defadvice wdired-change-to-dired-mode (after collapse-view activate)
(--each wdired-disabled-modes
(funcall it 1))) At the moment I'm just happy that my emacs does not have this problem anymore :) |
to keep `'rear-nonsticky` effects from spilling over into non button-lock buffers refs: #3, rolandwalker/fixmee#8 Note: this bug is absent from the discussion in fixmee#8
This should be fixed by #4. I was surprised to find that variable This was included in release 1.0.2, which was just tagged, and should percolate out to MELPA-stable soon. |
nice catch. Some day I will take the step to learn about the display stuff in more detail, it sure seems strange to me at times. |
Two examples of this problem:
It is actually fixmee-mode that I am using, I chose to post the bug report here anyway.
I am not 100% sure that this library is the culprit but it happens the moment i enable fixmee-mode.
The text was updated successfully, but these errors were encountered: