From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: org-mode not working properly after update Date: Tue, 26 Feb 2013 16:18:20 +0100 Message-ID: <868v6bxfwj.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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? =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 From: "Sebastien Vauban" =E2=94=82 Subject: bug#13820: 24.3.50; Cannot switch to Org mode =E2=94=82 Newsgroups: gnu.emacs.bug =E2=94=82 To: 13820-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org =E2=94=82 Date: Tue, 26 Feb 2013 12:06:58 +0100 (4 hours, 8 minutes, 53 s= econds ago) =E2=94=82=20 =E2=94=82 Hello, =E2=94=82=20 =E2=94=82 Opening any Org file (that I tried so far) leaves me in text mo= de. =E2=94=82=20 =E2=94=82 Note -- I've mapped Org mode to the txt file extension. =E2=94=82=20 =E2=94=82 The error displayed in the Messages buffer is: =E2=94=82=20 =E2=94=82 File mode specification error: (wrong-type-argument symbolp (au= toload "org-agenda" "Activate appointments found in `org-agenda-files'. =E2=94=82 With a \\[universal-argument] prefix, refresh the list of =E2=94=82 appointments. =E2=94=82=20 =E2=94=82 If FILTER is t, interactively prompt the user for a regular =E2=94=82 expression, and filter out entries that don't match it. =E2=94=82=20 =E2=94=82 If FILTER is a string, use this string as a regular expression =E2=94=82 for filtering entries out. =E2=94=82=20 =E2=94=82 If FILTER is a function, filter out entries against which =E2=94=82 calling the function returns nil. This function takes one =E2=94=82 argument: an entry from `org-agenda-get-day-entries'. =E2=94=82=20 =E2=94=82 FILTER can also be an alist with the car of each cell being =E2=94=82 either 'headline or 'category. For example: =E2=94=82=20 =E2=94=82 '((headline \"IMPORTANT\") =E2=94=82 (category \"Work\")) =E2=94=82=20 =E2=94=82 will only add headlines containing IMPORTANT or headlines =E2=94=82 belonging to the \"Work\" category. =E2=94=82=20 =E2=94=82 ARGS are symbols indicating what kind of entries to consider. =E2=94=82 By default `org-agenda-to-appt' will use :deadline, :scheduled =E2=94=82 and :timestamp entries. See the docstring of `org-diary' for =E2=94=82 details and examples. =E2=94=82=20 =E2=94=82 If an entry has a APPT_WARNTIME property, its value will be used =E2=94=82 to override `appt-message-warning-time'. =E2=94=82=20 =E2=94=82 (fn &optional REFRESH FILTER &rest ARGS)" t nil)) =E2=94=82=20 =E2=94=82 This problem does not show up with neither Emacs 24.2.91 nor Em= acs 24.2.93, =E2=94=82 well with Emacs 24.3.50 (file "emacs-trunk-r111822-20130217-w32= -i386.zip", =E2=94=82 compiled by Dani, 9 days ago). =E2=94=82=20 =E2=94=82 See a comparative demo between Emacs 24.2.91 (working) and Emac= s 24.3.50 =E2=94=82 (failing) on http://screencast.com/t/6QQN6t7qy. =E2=94=82=20 =E2=94=82 In GNU Emacs 24.3.50.1 (i386-mingw-nt6.2.9200) =E2=94=82 of 2013-02-17 on VBOX-W7 =E2=94=82 Bzr revision: 111822 rgm-x6JLEaVhGFkEqFoL0n3GCDaMIdnTWa3C3o7yFElL8moq28gkl27oYA@public.gmane.org =E2=94=82=20 =E2=94=82 --=20 =E2=94=82 Sebastien Vauban =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 And here's Bastien's answer on that: =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 From: Bastien =E2=94=82 Subject: bug#13820: 24.3.50; Cannot switch to Org mode =E2=94=82 Newsgroups: gnu.emacs.bug =E2=94=82 To: "Sebastien Vauban" =E2=94=82 Date: Tue, 26 Feb 2013 14:39:14 +0100 (1 hour, 36 minutes, 46 s= econds ago) =E2=94=82=20 =E2=94=82 Hi S=C3=A9bastien, =E2=94=82=20 =E2=94=82 "Sebastien Vauban" =E2=94=82 writes: =E2=94=82=20 =E2=94=82 > File mode specification error: (wrong-type-argument symbolp =E2=94=82 > (autoload "org-agenda" "Activate appointments found in =E2=94=82 > `org-agenda-files'. With a \\[universal-argument] prefix, re= fresh =E2=94=82 > the list of appointments. =E2=94=82=20 =E2=94=82 This autoload should not be in org-agenda.el, I've removed it f= rom =E2=94=82 Org's maint branch, which I will sync with Emacs emacs-24 branch =E2=94=82 tonight. =E2=94=82=20 =E2=94=82 It will probably fix your problem. =E2=94=82=20 =E2=94=82 --=20 =E2=94=82 Bastien =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Best regards, Seb --=20 Sebastien Vauban