Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.