emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug#13820: 24.3.50; Cannot switch to Org mode
       [not found]       ` <864ngxa1kt.fsf@somewhere.org>
@ 2013-02-27 21:59         ` Bastien
       [not found]         ` <mailman.21061.1362002573.855.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Bastien @ 2013-02-27 21:59 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-bug-gnu-emacs-mXXj517/zsQ



"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:

>     GNU Emacs 24.3.50.1 (i386-mingw-nt6.2.9200) of 2013-02-26 on VBOX-W7
>
> This is from `emacs-trunk-r111884-20130226-w32-i386.zip'. Is it before or
> after your commit?

Before.  Please wait for another day, sorry for the delay.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#13820: 24.3.50; Cannot switch to Org mode
       [not found]           ` <861ubfzrkk.fsf@somewhere.org>
@ 2013-03-16  8:32             ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2013-03-16  8:32 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-bug-gnu-emacs-mXXj517/zsQ



"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:

> This is *solved* in
>
>      GNU Emacs 24.3.50.1 (i386-mingw-nt6.2.9200) of 2013-03-14 on VBOX,

Great, thanks for confirming!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#13820: It was not fixed; it now is, though I don't understand the reason
       [not found] ` <861uc3l4fh.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
@ 2013-06-26 16:07   ` Sebastien Vauban
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastien Vauban @ 2013-06-26 16:07 UTC (permalink / raw)
  To: 13820-ubl+/3LiMTaZdePnXv/OxA

I've finally found the cause of a long lasting problem between Org and the dev
version of Emacs 24.4. Though, I don't understand it... Anyone?

When opening Org from my Emacs 24.3.1, everything's OK.

Same .emacs file, same everything, but latest version of Emacs: bang!

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp 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*
(i.e., deadlines and scheduled items with a hh:mm specification)
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))
  interactive-form((autoload "org-agenda" "Activate appointments found in `org-agenda-files'.\nWith a \\[universal-argument] prefix, refresh the list of\nappointments.\n\nIf FILTER is t, interactively prompt the user for a regular\nexpression, and filter out entries that don't match it.\n\nIf FILTER is a string, use this string as a regular expression\nfor filtering entries out.\n\nIf FILTER is a function, filter out entries against which\ncalling the function returns nil.  This function takes one\nargument: an entry from `org-agenda-get-day-entries'.\n\nFILTER can also be an alist with the car of each cell being\neither 'headline or 'category.  For example:\n\n  '((headline \"IMPORTANT\")\n    (category \"Work\"))\n\nwill only add headlines containing IMPORTANT or headlines\nbelonging to the \"Work\" category.\n\nARGS are symbols indicating what kind of entries to consider.\nBy default `org-agenda-to-appt' will use :deadline*, :scheduled*\n(i.e., deadlines and scheduled items with a hh:mm specification)\nand :timestamp entries.  See the docstring of `org-diary' for\ndetails and examples.\n\nIf an entry has a APPT_WARNTIME property, its value will be used\nto override `appt-message-warning-time'.\n\n(fn &optional REFRESH FILTER &rest ARGS)" t nil))
  advice--make-interactive-form(ad-Advice-org-agenda-to-appt (autoload "org-agenda" "Activate appointments found in `org-agenda-files'.\nWith a \\[universal-argument] prefix, refresh the list of\nappointments.\n\nIf FILTER is t, interactively prompt the user for a regular\nexpression, and filter out entries that don't match it.\n\nIf FILTER is a string, use this string as a regular expression\nfor filtering entries out.\n\nIf FILTER is a function, filter out entries against which\ncalling the function returns nil.  This function takes one\nargument: an entry from `org-agenda-get-day-entries'.\n\nFILTER can also be an alist with the car of each cell being\neither 'headline or 'category.  For example:\n\n  '((headline \"IMPORTANT\")\n    (category \"Work\"))\n\nwill only add headlines containing IMPORTANT or headlines\nbelonging to the \"Work\" category.\n\nARGS are symbols indicating what kind of entries to consider.\nBy default `org-agenda-to-appt' will use :deadline*, :scheduled*\n(i.e., deadlines and scheduled items with a hh:mm specification)\nand :timestamp entries.  See the docstring of `org-diary' for\ndetails and examples.\n\nIf an entry has a APPT_WARNTIME property, its value will be used\nto override `appt-message-warning-time'.\n\n(fn &optional REFRESH FILTER &rest ARGS)" t nil))
  advice--tweak(#[128 "\300\301\302#\207" [apply ad-Advice-org-agenda-to-appt nil nil] 5 #("Advised function" 0 16 (dynamic-docstring-function advice--make-docstring))] ...
  advice--subst-main(...
  advice--defalias-fset(...
  load-with-code-conversion("d:/Users/sva/Public/Repositories/org-mode/lisp/org-loaddefs.el" "d:/Users/sva/Public/Repositories/org-mode/lisp/org-loaddefs.el" t t)
  funcall(#<subr load> "org-loaddefs.el" t t t nil)
--8<---------------cut here---------------end--------------->8---

The culprit: the following chunk of code in my .emacs file...

#+begin_src emacs-lisp
  ;; keep your appointment list clean: if you delete an appointment from
  ;; your Org agenda file, delete the corresponding alert
  (defadvice org-agenda-to-appt (before wickedcool activate)
    "Clear the existing appt-time-msg-list."
    (setq appt-time-msg-list nil))
#+end_src

With it, Emacs 24.3 correctly loads Org, Emacs 24.4 DOES NOT.

Without it, both are loading Org correctly...

Though, I don't understand the impact of my advice on the loading process.
BTW, another weirdness:

  M-x load-library RET org-loaddefs RET

did work in Emacs 24.4 (with the advice enabled).

That's

  M-x load-file RET ~/Public/Repositories/org-mode/lisp/org-loaddefs.el RET

which did NOT. Mystery...?

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#13820: It was not fixed; it now is, though I don't understand the reason
       [not found] ` <86ip10c0tj.fsf@somewhere.org>
@ 2013-06-26 22:32   ` Stefan Monnier
       [not found]     ` <jwvvc508pxh.fsf-monnier+emacs__36954.1770466187$1372286039$gmane$org-mXXj517/zsQ@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2013-06-26 22:32 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: 13820

> Debugger entered--Lisp error: (wrong-type-argument symbolp (autoload
[...]
>   interactive-form((autoload "org-agenda" "Activate appointments found
[...]
>   advice--make-interactive-form(ad-Advice-org-agenda-to-appt (autoload

I installed a patch into trunk that should fix this, thank you.


        Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#13820: It was not fixed; it now is, though I don't understand the reason
       [not found]     ` <jwvvc508pxh.fsf-monnier+emacs__36954.1770466187$1372286039$gmane$org-mXXj517/zsQ@public.gmane.org>
@ 2013-06-27  9:40       ` Sebastien Vauban
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastien Vauban @ 2013-06-27  9:40 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 13820-ubl+/3LiMTaZdePnXv/OxA

Hi Stefan,

Stefan Monnier wrote:
>> Debugger entered--Lisp error: (wrong-type-argument symbolp (autoload
>>   [...]
>>   interactive-form((autoload "org-agenda" "Activate appointments found
>>   [...]
>>   advice--make-interactive-form(ad-Advice-org-agenda-to-appt (autoload
>
> I installed a patch into trunk that should fix this, thank you.

Thanks to you.

I'll take a look as soon as the next binary is available (on Dani's Dropbox).

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-27  9:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <861uc3l4fh.fsf@somewhere.org>
     [not found] ` <mailman.20917.1361886025.855.bug-gnu-emacs@gnu.org>
     [not found]   ` <86d2vnxhv1.fsf@somewhere.org>
     [not found]     ` <mailman.20928.1361893283.855.bug-gnu-emacs@gnu.org>
     [not found]       ` <864ngxa1kt.fsf@somewhere.org>
2013-02-27 21:59         ` bug#13820: 24.3.50; Cannot switch to Org mode Bastien
     [not found]         ` <mailman.21061.1362002573.855.bug-gnu-emacs@gnu.org>
     [not found]           ` <861ubfzrkk.fsf@somewhere.org>
2013-03-16  8:32             ` Bastien
     [not found] ` <861uc3l4fh.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2013-06-26 16:07   ` bug#13820: It was not fixed; it now is, though I don't understand the reason Sebastien Vauban
     [not found] ` <86ip10c0tj.fsf@somewhere.org>
2013-06-26 22:32   ` Stefan Monnier
     [not found]     ` <jwvvc508pxh.fsf-monnier+emacs__36954.1770466187$1372286039$gmane$org-mXXj517/zsQ@public.gmane.org>
2013-06-27  9:40       ` Sebastien Vauban

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).