I know this is OT, but since I belong to this list, I thought I'd start
by asking here.
Dumb as this sounds, I should point out that, so far, I don't like
(X)EMACS for various reasons--the terminology, display, and actions are
far outside my background/experience. For 7+ years, my favorite editor
in Linux has been nedit, but its lack of folding capability is very
frustrating, so I'd like to make one more try at (folding in) (X)EMACS.
Initially, I'd just like to see how it works--that means, load some file
(maybe a .c file) for which outline mode automatically recognizes
sections to fold, and thus I can play briefly with the fold / unfold
interface. (Do I get icons to click on in a left hand gutter margin?)
Presuming I'm reasonably happy with that, then I'd need to customize the
folding for my own files which use a variation of TWiki markup and
should fold based on that markup. At the simplest level, that markup
looks like:
---+ Level 1 Heading
...
---++++++ Level 6 Heading
But I'd also like to fold on other things, like bulleted or numbered
lists:
<multiples of 3 spaces>* bullet list at different levels
<multiples of 3 spaces>n numbered list at different levels
e.g.,
* is a bulleted list item in a top level list
* is a bulleted list item in a lower level list
3 is a numbered list item in a still lower level list
...
Tables, whose markup is prefixed by a "\n|"
I'm sure I will desire others in the future.
And finally (for now) my file format has multiple "records" per file,
where the general file format is like an mbox file and each record
(corresponding to an email) is prefixed by several lines of (mbox/mail)
headers as the record separator--I also want to fold at the record
level.
So, to customize at this level, must I write Lisp code, or do I do
something like define something like a syntax highlighting "definition"
file?
Thanks for any help, including pointers to (a) more appropriate list(s)!
Randy Kramer
--
I didn't have time to write a short letter, so I created a video
instead.--with apologies to Cicero, et.al.
_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss