I've just installed header2 from elpa and -- now what? I'm afraid I can't fathom where to begin with this beast. I'd like to make a custom org-mode header. Is there a tutorial somewhere that can get me going on it? I've only found the original "OriginalHeaderEl" code, which lists user commands such as make-header. I do this, and a generic-looking emacs lisp file header stuff appears. Obviously, I haven't customized (created a template?) for what goes into my header yet. How is this done? I saw this, but it tells me nothing about how to customize, etc., not the EmacsWiki homepage for header2 either. This shows a beginner's roll-your-own, which would be fine, but it's not the same as grokking an important piece of the Emacs eco-system like header2....

  • See if this helps you. That is how I customize header2. Once I have some time on hands, I can format a proper answer, or someone else can. Nov 2 '15 at 22:21
  • Actually this question did feel like deja-vu. I have marked it for closing as I feel it's a duplicate of the mentioned question. But if you don't feel so, feel free to contest the "close" flag. Nov 2 '15 at 22:23
  • @kaushalmodi I will attempt to use your answer as given in the first header2 Emacs beta question. However, I am not certain where the given "customizations" are located. My first guess is somewhere in your init file(s). Likewise, your setup-header2.el is rather inscrutable for me, a beginner. I assume this is part of your Emacs initialization which is called. Also, I'm not quite sure where, how your header-multiline is populated. As a beginner, I'm also hazy on how these "hooks" are working. Whatever, whenever you can answer will be appreciated.
    – 147pm
    Nov 3 '15 at 0:51
  • My solution in the original emacs.SE question should be sufficient to solve this question. The elisp code in the solution goes in your ~/.emacs.d/init.el file. It would suggest that you refer to my solution instead of reading my setup-header2.el directly. header-multiline is a dynamic variable (think of global variable); it's updated elsewhere and used elsewhere. Here's a little quick elisp guide. Nov 3 '15 at 4:11
  • You will learn more on how to customize your emacs by reading elisp code snippets (this is a perfect site for that), by reading other's emacs init files. Gradually you would want to start understanding the analyzing the packages other write. Then as you start to code your own stuff, you will google more, read more, code more and start learning from places like gnu.org/software/emacs/manual/html_node/eintr/index.html and gnu.org/software/emacs/manual/html_node/elisp/index.html. Nov 3 '15 at 4:14

Browse other questions tagged or ask your own question.