[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bongo-patches] Set line-move-ignore-invisible to t
From: |
Daniel Jensen |
Subject: |
[bongo-patches] Set line-move-ignore-invisible to t |
Date: |
Thu, 05 Apr 2007 15:20:19 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
In <address@hidden>, I wrote:
On Emacs 21, point does not move past invisible text
automatically. I figure this is what `line-move-ignore-invisible'
is for, and that Bongo should set it.
It has now been over three months, and the poor Emacs 21 users still
cannot move through invisible text.
Since `line-move-ignore-invisible' is set to t by default in Emacs 22,
the following patch should be reasonable.
diff -Naur bongo-old/bongo.el bongo-new/bongo.el
--- bongo-old/bongo.el 2007-04-05 13:54:52.000000000 +0200
+++ bongo-new/bongo.el 2007-04-05 14:44:21.000000000 +0200
@@ -8594,6 +8594,7 @@
(kill-all-local-variables)
(set (make-local-variable 'forward-sexp-function)
'bongo-forward-section)
+ (set (make-local-variable 'line-move-ignore-invisible) t)
(use-local-map bongo-mode-map)
(setq buffer-read-only t)
(setq major-mode 'bongo-mode)
--
- [bongo-patches] Set line-move-ignore-invisible to t,
Daniel Jensen <=