[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode
From: |
Stefan Monnier |
Subject: |
bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'. |
Date: |
Thu, 16 Oct 2014 15:39:13 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> Of course, we can change `tildify-pattern-alist''s default value and
> require that it does not look past the white-space that is being
> replaced, in which case auto-tildify will be able to use it. I would be
> fine with that myself, but I don't know how strict should we be about
> backward compatibility.
OK, that sounds fine:
Introduce a new variable that can be used by tildify-mode. It would
probably work similarly to your auto-tildify-pattern-alist *except* that
it won't be an alist indexed by the major-mode.
Instead, the major-modes should set this var buffer-locally if they want
it to be different.
Please try to make it so that this new var can also be used for
tildify-region, move the current default entry in tildify-pattern-alist
to it (so that tildify-pattern-alist defaults to nil), and mark
tildify-pattern-alist as obsolete.
tildify-string-alist should also be made obsolete and replaced by
a variable which is set buffer-locally by the major-modes.
Could that work?
Stefan
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Michal Nazarewicz, 2014/10/15
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Stefan Monnier, 2014/10/15
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Michal Nazarewicz, 2014/10/16
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Stefan Monnier, 2014/10/16
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Stefan Monnier, 2014/10/16
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Michal Nazarewicz, 2014/10/16
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'.,
Stefan Monnier <=
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Michal Nazarewicz, 2014/10/17
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Stefan Monnier, 2014/10/17
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Michal Nazarewicz, 2014/10/22
- bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Stefan Monnier, 2014/10/24
- bug#18730: [PATCH] tildify.el: introduce a `tildify-space-string' variable, Michal Nazarewicz, 2014/10/28
- bug#18730: [PATCH] tildify.el: introduce a `tildify-space-string' variable, Stefan Monnier, 2014/10/31
bug#18730: [PATCH] tildify.el: Add `auto-tildify' and `auto-tildify-mode'., Ted Zlatanov, 2014/10/16