[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6915: Please consider making left-margin-width etc buffer local inst
From: |
MON KEY |
Subject: |
bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local |
Date: |
Wed, 25 Aug 2010 23:58:52 -0400 |
> but I wonder whether this variable and some other variables at the
> same place in buffer.c should be made buffer local instead of major
> mode local. (I.e. I wonder whether they should be have the property
> permanent-local set to t.
I have a better solution.
Please, consider adding a mumamo-hook that makes all mumamo related
vars permanent-local by default..
> And when it is a major mode local variable (as it is today)
> it has to be overriden by multi major modes
Well, there you go.
> (since the margin width is per buffer and you do not want it to
> change while moving in the buffer).
Says who?
> So I suggest that those variables should be made buffer local.
You've only mentioned _one_ variable `left-margin-width' in this report.
The remainder are (I assume) made implicit with your &rest etc. e.g.:
(defun lennart-needs-pl (variable-isnt-local &rest etc\.)
(when (or affects-mumamo-p causes-lennart-grief-p)
(file-bug-report variable-isnt-local)
(when (and etc\. (listp etc\.)
(mapc #'file-bug-report etc\.)))))
(lennart-needs-pl 'left-margin-width
'some 'more 'unamed 'variables 'from 'buffer\.c)
Run with it.
--
/s_P\
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, Lennart Borgman, 2010/08/25
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local,
MON KEY <=
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, Lennart Borgman, 2010/08/26
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, Juanma Barranquero, 2010/08/26
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, Lennart Borgman, 2010/08/26
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, Juanma Barranquero, 2010/08/26
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, Lennart Borgman, 2010/08/26
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, MON KEY, 2010/08/26
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, Lennart Borgman, 2010/08/26
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, MON KEY, 2010/08/26
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, Lennart Borgman, 2010/08/27
- bug#6915: Please consider making left-margin-width etc buffer local instead of major mode local, MON KEY, 2010/08/28