emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-agenda on Mac M1
@ 2023-03-16 13:31 Henrik Frisk
  2023-03-16 13:47 ` Ruijie Yu via General discussions about Org-mode.
  0 siblings, 1 reply; 4+ messages in thread
From: Henrik Frisk @ 2023-03-16 13:31 UTC (permalink / raw)
  To: org-mode-email

[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]

Hi,

I have rrecently had to move from Linux to MacOS and setting up on an M1
computer I have run inte to ann issue I can't figure out. When I run
org-agenda I get the sub menu but if I hit 'a' emacs hangs, though I can
get it back if I hit C-g. Without my init file it works. I have gone
through all my claendar files, adding the one at a time and I have gone
through my init file using this method:

1. Remove everything except the org-agenda stuff: org-agenda works as
expected
2. Adding one piece of the config file at a time: org-agenda works after
eache addition
3. After a emacs restart org agenda fails.

I have no experience in debugging, but I tried to run debug-on-error with
org-agenda and I got the following, which is not so helpful (to me):

* org-agenda(nil)
  funcall-interactively(org-agenda nil)
  call-interactively(org-agenda record nil)
  command-execute(org-agenda record)
  execute-extended-command(nil "org-agenda" "org-agenda")
  funcall-interactively(execute-extended-command nil "org-agenda"
"org-agenda")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

Anyone else has a suggestion on a next step here?

/Henrik

[-- Attachment #2: Type: text/html, Size: 1478 bytes --]

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

* Re: org-agenda on Mac M1
  2023-03-16 13:31 org-agenda on Mac M1 Henrik Frisk
@ 2023-03-16 13:47 ` Ruijie Yu via General discussions about Org-mode.
  2023-03-16 15:46   ` Henrik Frisk
  0 siblings, 1 reply; 4+ messages in thread
From: Ruijie Yu via General discussions about Org-mode. @ 2023-03-16 13:47 UTC (permalink / raw)
  To: Henrik Frisk; +Cc: emacs-orgmode

Henrik Frisk <frisk.h@gmail.com> writes:

> When I run org-agenda I get the sub menu but if I hit 'a' emacs hangs,
> though I can get it back if I hit C-g.  [...]
>
> I have no experience in debugging, but I tried to run debug-on-error
> with org-agenda and I got the following, which is not so helpful (to
> me):
>
> [...]
>
> Anyone else has a suggestion on a next step here?

What happens when you run `M-x toggle-debug-on-quit RET' right after you
run `emacs -Q', and do your usual steps to reproduce the issue?  That
might provide a more detailed backtrace for investigation.

In addition, what version of Emacs and of org are you using?  Posting
the results of these two commands would help a lot:
- `M-: emacs-repository-version RET'
- `M-x org-version RET'

--
Best,


RY


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

* Re: org-agenda on Mac M1
  2023-03-16 13:47 ` Ruijie Yu via General discussions about Org-mode.
@ 2023-03-16 15:46   ` Henrik Frisk
  2023-03-17 18:08     ` Henrik Frisk
  0 siblings, 1 reply; 4+ messages in thread
From: Henrik Frisk @ 2023-03-16 15:46 UTC (permalink / raw)
  To: Ruijie Yu; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]

Den tors 16 mars 2023 kl 14:58 skrev Ruijie Yu <ruijie@netyu.xyz>:

> Henrik Frisk <frisk.h@gmail.com> writes:
>
> > When I run org-agenda I get the sub menu but if I hit 'a' emacs hangs,
> > though I can get it back if I hit C-g.  [...]
> >
> > I have no experience in debugging, but I tried to run debug-on-error
> > with org-agenda and I got the following, which is not so helpful (to
> > me):
> >
> > [...]
> >
> > Anyone else has a suggestion on a next step here?
>
> What happens when you run `M-x toggle-debug-on-quit RET' right after you
> run `emacs -Q', and do your usual steps to reproduce the issue?  That
> might provide a more detailed backtrace for investigation.
>
> Well, with emacs -Q there hasn't been a problem so far, so it's in my
configuration or in one of the agenda files, but it appears to happen on
random: taking out one agenda file may make it work, but then after a
restart it doesn't work, etc.


> In addition, what version of Emacs and of org are you using?  Posting
> the results of these two commands would help a lot:
>
Ah yes, sorry!


> - `M-: emacs-repository-version RET'
>
That evaluates to nil. M-x emacs-version is GNU Emacs 28.2 (build 1,
aarch64-apple-darwin21.6.0, Carbon Version 165 AppKit 2113.6) of 2023-02-12

> - `M-x org-version RET'
>
9.6.1

[-- Attachment #2: Type: text/html, Size: 2260 bytes --]

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

* Re: org-agenda on Mac M1
  2023-03-16 15:46   ` Henrik Frisk
@ 2023-03-17 18:08     ` Henrik Frisk
  0 siblings, 0 replies; 4+ messages in thread
From: Henrik Frisk @ 2023-03-17 18:08 UTC (permalink / raw)
  To: Ruijie Yu; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]

Den tors 16 mars 2023 kl 16:46 skrev Henrik Frisk <frisk.h@gmail.com>:

>
>
> Den tors 16 mars 2023 kl 14:58 skrev Ruijie Yu <ruijie@netyu.xyz>:
>
>> Henrik Frisk <frisk.h@gmail.com> writes:
>>
>> > When I run org-agenda I get the sub menu but if I hit 'a' emacs hangs,
>> > though I can get it back if I hit C-g.  [...]
>> >
>> > I have no experience in debugging, but I tried to run debug-on-error
>> > with org-agenda and I got the following, which is not so helpful (to
>> > me):
>> >
>> > [...]
>> >
>> > Anyone else has a suggestion on a next step here?
>>
>> What happens when you run `M-x toggle-debug-on-quit RET' right after you
>> run `emacs -Q', and do your usual steps to reproduce the issue?  That
>> might provide a more detailed backtrace for investigation.
>>
>> Well, with emacs -Q there hasn't been a problem so far, so it's in my
> configuration or in one of the agenda files, but it appears to happen on
> random: taking out one agenda file may make it work, but then after a
> restart it doesn't work, etc.
>
>
>> In addition, what version of Emacs and of org are you using?  Posting
>> the results of these two commands would help a lot:
>>
> Ah yes, sorry!
>
>
>> - `M-: emacs-repository-version RET'
>>
> That evaluates to nil. M-x emacs-version is GNU Emacs 28.2 (build 1,
> aarch64-apple-darwin21.6.0, Carbon Version 165 AppKit 2113.6) of 2023-02-12
>
>> - `M-x org-version RET'
>>
> 9.6.1
>

After some more testing it appears that there is something in my
calendar.org file that makes org-agenda hickup. The same file works fine on
my other computer (linux) and the same emacs / org version. I have not been
able to pinpoint exactly what the error is. If I find it I will post it.

/Henrik

[-- Attachment #2: Type: text/html, Size: 3037 bytes --]

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

end of thread, other threads:[~2023-03-17 18:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-16 13:31 org-agenda on Mac M1 Henrik Frisk
2023-03-16 13:47 ` Ruijie Yu via General discussions about Org-mode.
2023-03-16 15:46   ` Henrik Frisk
2023-03-17 18:08     ` Henrik Frisk

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