Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) with org-mode 7.9.3d on Windows 7.

I'm currently testing new agenda settings and I have my agenda settings like (setq org-agenda-custom-commands ... in a separate file which is loaded in my emacs by something like

load "C:\path\mysettings.el" in my .emacs file.

So my question is:
If I made a change to this open mysettings.el buffer, what do I have to do to apply it to my open agenda?

  • I assume I have to save the buffer mysettings.el
  • and rebuild the agenda buffer by pressing "g".
  • Do I have to do M-x eval-buffer or something else before successfully rebuilding the agenda?

It seems to me that this alone is not sufficient to make the changes work?! What else do I have to do?

Sorry, if this might be a stupid/trivial question for experienced users

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Put the cursor at the end of the expression (setq org-agenda-custom-commands ...)| and call M-x eval-last-expression RET. You can see the current value of the variable org-agenda-custom-commands by M-x eval-expression RET (describe-variable 'org-agenda-custom-commands) RET.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.