emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: [Some news (nngnorb "UCMgmail")?] (was: [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)])
Date: Thu, 05 May 2022 13:09:17 +0200	[thread overview]
Message-ID: <87v8ukz15u.fsf_-_@mat.ucm.es> (raw)
In-Reply-To: 87ee1b3wh7.fsf@localhost

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

>>> "IR" == Ihor Radchenko <yantar92@gmail.com> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>> Here is one of the templates
>> ("mt" "Tutorias Headings"
>> entry (file+headline "~/ALLES/HGs/tex/vorlesungen/Tutorias/tutorias.org" "Tutorials")
>> "* TODO %^{Task} %T : %:from %:subject %^G\n- From :: %:from\n- Subject :: %:subject\n- Date :: %:date\n- Email :: %a\n\n%?\n%i")
>> 
>> So I in my gnus message 
>> 
>> 1. I fire up org-capture
>> 
>> 2. I am asked to the Task, I type but then Emacs hangs, and I have
>> to abort the operation. That did not happen with git master
>> 1f78ca45f8d534e51c1e30e9225d1da8b2e50650

> Could you please provide detailed steps how to reproduce starting from
> emacs -Q?

> I am unable to trigger the hang using your template doing the following

> 1. cd path/to/org/repo/main/branch
> 2. make cleanall; make autoloads; emacs -Q -L ./lisp/ -l org -l /tmp/bug.el 
> with bug.el:
> (setq org-capture-templates '(("m" "Tutorias Headings"
> 	 entry (file+headline "/tmp/tutorias.org" "Tutorials")
> 	 "* TODO %^{Task} %T : %:from %:subject %^G\n- From :: %:from\n- Subject :: %:subject\n- Date ::
> %:date\n- Email :: %a\n\n%?\n%i")))

> 3. M-x gnus
> 4. m
> 5. Fill To and Subject fields of the message
> 6. M-x org-capture <RET> m
> 7. test <RET>
> 8. 1:test: <RET>
> 9. C-c C-c

I did 

/opt/emacs29/bin/emacs -Q -L ./lisp/ -l org -l bug.el

With bug.el containing:

(setq org-capture-templates '(("m" "Tutorias Headings"
	 entry (file+headline "/tmp/tutorias.org" "Tutorials")
	 "* TODO %^{Task} %T : %:from %:subject %^G\n- From :: %:from\n- Subject :: %:subject\n- Date ::
%:date\n- Email :: %a\n\n%?\n%i")))

(setq gnus-select-method (list 'nnnil "")) ;Jan  1, 2005 18:21
(setq gnus-secondary-select-methods nil)
(setq gnus-secondary-select-methods
      '(
 	(nntp  "news.gmane.io") 
        (nngnorb "UCMgmail")
	(nnimap "UCMgmail"
		(nnimap-address "imap.gmail.com")
		(nnimap-server-port 993)
		(nnimap-authinfo-file "~/.authinfo")
		(nnimap-stream ssl)
                ;;(nnimap-stream starttls)
                (nnimap-fetch-partial-articles "text/")
		(nnir-search-engine imap))
	(nnimap "gmail"
		(nnimap-address "imap.gmail.com")
		(nnimap-server-port 993)
		(nnimap-stream ssl)
		(nnimap-authinfo-file "~/.authinfo")
                ;;(nnimap-stream starttls))
                (nnimap-fetch-partial-articles "text/")
;                (nnimap-fetch-partial-articles t)
		(nnimap-stream ssl))
        (nnimap "Gisi"
		(nnimap-address "imap.gmail.com")
		(nnimap-server-port 993)
		(nnimap-stream ssl)
		(nnimap-authinfo-file "~/.authinfo")
                ;;(nnimap-stream starttls))
		(nnimap-stream ssl))
        (nnimap "gmx"
		(nnimap-address "imap.gmx.de")
		(nnimap-server-port 993)
		(nnimap-stream ssl)
		(nnimap-authinfo-file "~/.authinfo")
		(nnimap-stream ssl))
        (nnimap "GmxUwe"
		(nnimap-address "imap.gmx.net")
		(nnimap-server-port 993)
		(nnimap-stream ssl)
		(nnimap-authinfo-file "~/.authinfo")
		(nnimap-stream ssl))
        ))

That did not work, however when removing 

        (nngnorb "UCMgmail")
it worked.

I also removed this from my gnus-init file and for the moment everything seems to work.

Good @Eric (Eric Abrahamsen)

When you read this, any idea what is going on here?

Uwe 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  parent reply	other threads:[~2022-05-05 11:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03  6:27 [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)] Uwe Brauer
2022-05-03  6:34 ` [Culprit is org] (was: [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)]) Uwe Brauer
2022-05-03  6:45 ` [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)] Ihor Radchenko
2022-05-03  6:51   ` Uwe Brauer
2022-05-03  7:29     ` Ihor Radchenko
2022-05-03 12:38       ` Uwe Brauer
2022-05-03 20:30       ` Uwe Brauer
2022-05-05 11:09       ` Uwe Brauer [this message]
2022-05-06 11:00         ` [Some news (nngnorb "UCMgmail")?] (was: [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)]) Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8ukz15u.fsf_-_@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).