Hi, I have solved the problem after removing all the relevant packages and reinstalling. Some left over packages were causing trouble and reinstalling was not of any help. Thanks. ----------------------------- *Sanjib Sikder *Ph.D. Fellow Chemical Engineering IIT Bombay* * On Mon, Oct 15, 2012 at 4:13 PM, Sanjib Sikder wrote: > Hi, > > #+BEGIN_COMMENT > Some text > #+END_COMMENT > > The above code is not working on my desktop while it runs without any > error on my laptop. I have same .emacs set up for both desktop and laptop. > I am getting the following error message. > > byte-code: unbalanced begin/end_comment blocks with #("#+BEGIN_COMMENT > " 0 15 (fontified nil font-lock-fontified t) 15 16 (fontified nil > font-lock-fontified t)) > > > Thanks. > > Following is the corresponding part in my .emacs > > (custom-set-variables > ;; custom-set-variables was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(TeX-PDF-mode t t) > '(TeX-source-correlate-method (quote synctex)) > '(TeX-source-correlate-mode t) > '(TeX-source-correlate-start-server t) > '(TeX-view-program-list (quote (("Okular" "okular --unique > %o#src:%n%b")))) > '(TeX-view-program-selection (quote ((output-pdf "Okular") ((output-dvi > style-pstricks) "dvips and gv") (output-dvi "xdvi") (output-html > "xdg-open")))) > '(org-modules (quote (org-bbdb org-bibtex org-docview org-gnus org-info > org-jsinfo org-irc org-mew org-mhe org-rmail *org-special-blocks* org-vm > org-wl org-w3m))) > '(show-paren-mode t)) > (custom-set-faces > ;; custom-set-faces was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(default ((t (:inherit nil :stipple nil :background "white" :foreground > "black" :inverse-video nil :box nil :strike-through nil :overline nil > :underline nil :slant normal :weight normal :height 98 :width normal > :foundry "unknown" :family "Liberation Sans"))))) > > ----------------------------- > *Sanjib Sikder > *Ph.D. Fellow > Chemical Engineering > IIT Bombay* > > * > >