I don't remember the details, what I do remember is that Stefan said to me it would be better as a minor mode along with a bunch of rationale, and that registered, and then someone did it, and so IIRC I just waved at it and let it happen; all I can remember, frankly. Like TRS-80, I did feel a bit outside my binding habits at first, but then added some bindings of my own. You can find out what I use here: https: <https://github.com/beancount/beancount/blob/master/etc/emacsrc> //github.com/beancount/beancount/blob/master/etc/emacsrc <https://github.com/beancount/beancount/blob/master/etc/emacsrc> this gets sourced from my .emacs.
<https://github.com/beancount/beancount/blob/master/etc/emacsrc> (Over the 25 years I've known Stefan, there's not a single time that I challenged him over computer matters that I wasn't in the wrong. I wisened up now and I just do whatever he says.) On Sat, Jul 18, 2020 at 8:11 PM TRS-80 <[email protected]> wrote: > > On 2020-07-18 18:52, Daniele Nicolodi wrote: > > > > What else are you missing? > > Typical navigation stuff, like up to parent (and on and on), which I > suppose is just a matter of re-binding whatever command(s) from > outline-mode. I guess I just need to dig into those docs some more. > > > What are you missing? beancount.el already has some code to augment > > outline-minor-mode to make it behave more like org-mode. If there are > > other desirable (reasonable) features I don't exclude we can add them. > > I did notice beancount-outline-cycle for instance. Nice touch. :) > > One thing I was missing was org-cycle-separator-lines, I did not find > any analogue in outline-mode yet (in fairness, I have not yet begun to > really study outline-mode yet, either). > > Since you asked, I thought about it and fill-paragraph was another > thing I couldn't seem to get to work, either. This is not related to > org-mode though of course. And I probably would not even have noticed > if I was just entering transactions as opposed to setting up a new set > of books and thus had some longer comments near the top of the file. > > > The issue is that a minor mode inherits all the "setup" performed by > > the major mode. In the case of org-mode and beancount as a minor > > mode it was very hard (or impossible) to adapt org-mode features to > > what is desired in a benacount buffer. Completion is a notable > > example, electric indentation is another. > > These were exactly the answers I was looking for. Thanks! > > > Overall I think the current design is much nicer, both from a > > conceptual > > and user point of view and from a code point of view. > > I was hoping you might reply and share your insights, as these were > exactly what I was looking for. I really appreciate it. You seem to > be much more familiar with the issues at hand (and codebase) than > myself, and therefore I will take your recommendations. > > I was more trying to scout out which would be the less hassle way > forward between re-mapping (an as yet unknown) number of commands from > outline-mode vs the alternative which was floated in the OP. It > sounds now like the former option not so bad after all, so that is the > way I will proceed for now. > > > However, as it as been already pointed out, the old beancount minor > > mode code is preserved in the git history and released with a open > > source license. If you like it more, you are free to use it and > > improve upon it. > > I have no intention to do any such thing. :) If anything, I hope to > become familiar enough with the work you have already done to one day > be able to make some of my own useful contributions back to it. > > Cheers! > > TRS-80 > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/b9cf11e054013839141e3fa9a63cc105%40isnotmyreal.name > . > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhOxQg3knL%3DP%2BgK1YORR8v%3DFYTEcAcLUWUO-Y6ocyxdwpA%40mail.gmail.com.
