Hi Sanjib, Sanjib Sikder wrote: > Org-mode is not working properly after I updated my Ubuntu 12.04 > yesterday. During the update, emacs also got updated. The .org files look > like plain text file, for example, no tree structure, no folding etc. > > Please help.
Could it be related to the bug I reported to Emacs this noon? ╭──── │ From: "Sebastien Vauban" <wxhgmqzgw...@spammotel.com> │ Subject: bug#13820: 24.3.50; Cannot switch to Org mode │ Newsgroups: gnu.emacs.bug │ To: 13...@debbugs.gnu.org │ Date: Tue, 26 Feb 2013 12:06:58 +0100 (4 hours, 8 minutes, 53 seconds ago) │ │ Hello, │ │ Opening any Org file (that I tried so far) leaves me in text mode. │ │ Note -- I've mapped Org mode to the txt file extension. │ │ The error displayed in the Messages buffer is: │ │ File mode specification error: (wrong-type-argument symbolp (autoload "org-agenda" "Activate appointments found in `org-agenda-files'. │ With a \\[universal-argument] prefix, refresh the list of │ appointments. │ │ If FILTER is t, interactively prompt the user for a regular │ expression, and filter out entries that don't match it. │ │ If FILTER is a string, use this string as a regular expression │ for filtering entries out. │ │ If FILTER is a function, filter out entries against which │ calling the function returns nil. This function takes one │ argument: an entry from `org-agenda-get-day-entries'. │ │ FILTER can also be an alist with the car of each cell being │ either 'headline or 'category. For example: │ │ '((headline \"IMPORTANT\") │ (category \"Work\")) │ │ will only add headlines containing IMPORTANT or headlines │ belonging to the \"Work\" category. │ │ ARGS are symbols indicating what kind of entries to consider. │ By default `org-agenda-to-appt' will use :deadline, :scheduled │ and :timestamp entries. See the docstring of `org-diary' for │ details and examples. │ │ If an entry has a APPT_WARNTIME property, its value will be used │ to override `appt-message-warning-time'. │ │ (fn &optional REFRESH FILTER &rest ARGS)" t nil)) │ │ This problem does not show up with neither Emacs 24.2.91 nor Emacs 24.2.93, │ well with Emacs 24.3.50 (file "emacs-trunk-r111822-20130217-w32-i386.zip", │ compiled by Dani, 9 days ago). │ │ See a comparative demo between Emacs 24.2.91 (working) and Emacs 24.3.50 │ (failing) on http://screencast.com/t/6QQN6t7qy. │ │ In GNU Emacs 24.3.50.1 (i386-mingw-nt6.2.9200) │ of 2013-02-17 on VBOX-W7 │ Bzr revision: 111822 r...@gnu.org-20130217190146-mm9bh3227ev56bus │ │ -- │ Sebastien Vauban ╰──── And here's Bastien's answer on that: ╭──── │ From: Bastien <b...@altern.org> │ Subject: bug#13820: 24.3.50; Cannot switch to Org mode │ Newsgroups: gnu.emacs.bug │ To: "Sebastien Vauban" <public-wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@plane.gmane.org> │ Date: Tue, 26 Feb 2013 14:39:14 +0100 (1 hour, 36 minutes, 46 seconds ago) │ │ Hi Sébastien, │ │ "Sebastien Vauban" │ <wxhgmqzgw...@spammotel.com> writes: │ │ > File mode specification error: (wrong-type-argument symbolp │ > (autoload "org-agenda" "Activate appointments found in │ > `org-agenda-files'. With a \\[universal-argument] prefix, refresh │ > the list of appointments. │ │ This autoload should not be in org-agenda.el, I've removed it from │ Org's maint branch, which I will sync with Emacs emacs-24 branch │ tonight. │ │ It will probably fix your problem. │ │ -- │ Bastien ╰──── Best regards, Seb -- Sebastien Vauban