Gnus development mailing list
 help / color / mirror / Atom feed
* Completion is incomplete
@ 2010-10-05  9:01 Stephen Berman
  2010-10-05 10:15 ` Julien Danjou
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Berman @ 2010-10-05  9:01 UTC (permalink / raw)
  To: ding

Among my mail groups are "nnfolder+private:comp.misc" and
"nnfolder+private:computer.personal".  Since updating from the Emacs
trunk on 2010-10-03 (and persisting in my updated build from an hour
ago), Gnus commands that uses completion (e.g. `j' in the Group buffer,
`B m' in the Summary buffer) only show the latter group.  I haven't
modified any Gnus variables or changed the completion defaults.

Steve Berman




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

* Re: Completion is incomplete
  2010-10-05  9:01 Completion is incomplete Stephen Berman
@ 2010-10-05 10:15 ` Julien Danjou
  2010-10-05 11:12   ` Stephen Berman
  0 siblings, 1 reply; 13+ messages in thread
From: Julien Danjou @ 2010-10-05 10:15 UTC (permalink / raw)
  To: Stephen Berman; +Cc: ding

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

On Tue, Oct 05 2010, Stephen Berman wrote:

> Among my mail groups are "nnfolder+private:comp.misc" and
> "nnfolder+private:computer.personal".  Since updating from the Emacs
> trunk on 2010-10-03 (and persisting in my updated build from an hour
> ago), Gnus commands that uses completion (e.g. `j' in the Group buffer,
> `B m' in the Summary buffer) only show the latter group.  I haven't
> modified any Gnus variables or changed the completion defaults.

Could you `toggle-debug-on-quit', press C-g on a completion prompt and
send me the backtrace?

-- 
Julien Danjou
// ᐰ <julien@danjou.info>   http://julien.danjou.info

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: Completion is incomplete
  2010-10-05 10:15 ` Julien Danjou
@ 2010-10-05 11:12   ` Stephen Berman
  2010-10-05 11:26     ` Julien Danjou
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Berman @ 2010-10-05 11:12 UTC (permalink / raw)
  To: ding

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

On Tue, 05 Oct 2010 12:15:59 +0200 Julien Danjou <julien@danjou.info> wrote:

> On Tue, Oct 05 2010, Stephen Berman wrote:
>
>> Among my mail groups are "nnfolder+private:comp.misc" and
>> "nnfolder+private:computer.personal".  Since updating from the Emacs
>> trunk on 2010-10-03 (and persisting in my updated build from an hour
>> ago), Gnus commands that uses completion (e.g. `j' in the Group buffer,
>> `B m' in the Summary buffer) only show the latter group.  I haven't
>> modified any Gnus variables or changed the completion defaults.

I found out that the faulty completion only happens when I start Emacs
with --daemon and then open a frame with emacsclient -c (!?).  If I
start the same Emacs executable without --daemon, completion works in
Gnus as always (so both groups above are offered as completions).  But
completion in Gnus also works in my Emacs build from 2010-09-10 even
with --daemon, so the problem still seems to be at least partly due to
the recent changes.

> Could you `toggle-debug-on-quit', press C-g on a completion prompt and
> send me the backtrace?

I've attached two backtraces, the first from the faulty completion with
Emacs running under the daemon, the second from good completion with
Emacs not running under the daemon.  They show relevant differences,
though I don't see anything indicating how those differences arose (much
less what the daemon has to do with it); hope you do.

Steve Berman


[-- Attachment #2: backtrace faulty completion --]
[-- Type: application/octet-stream, Size: 6331 bytes --]

Debugger entered--Lisp error: (quit)
  completing-read("Move this article to: " (("nnfolder+archive:sent") ("nnfolder+private:sent") ("nnfolder+private:braxton.list") ("nnfolder+private:Dana") ("nndraft:drafts") ("nnfolder+private:suse.laptop") ("nnfolder+private:spam") ("nnfolder+private:kde.announce") ("nnfolder+private:jim.orourke.list") ("nnfolder+private:vortraege") ("nnfolder+private:suse.security") ("nnfolder+private:unsorted-GMX") ("nnfolder+private:micc") ("nnfolder+private:escher") ("nnfolder+private:suse.linux.e") ("nnfolder+private:Annie") ("nndraft:queue") ("nnfolder+private:amazon") ("nnfolder+private:kde.linux") ("nnfolder+private:ixsoft") ("nnfolder+private:lowercase.sound.list") ("nnfolder+private:linguist.list") ("nnfolder+private:bug.gnu.emacs") ("nnfolder+private:help.gnu.emacs") ("nnfolder+private:epulse.list") ("nnfolder+private:Arline") ("nnfolder+private:suse.linux") ("nnfolder+private:Judith") ("nnfolder+private:sun.one") ("nnfolder+private:Evan") ("nnfolder+private:Diane") ("nnfolder+private:bnc.discuss") ("nnfolder+private:swr2.lists") ("nnfolder+private:unsorted") ("nnfolder+private:saved-messages") ("nnfolder+private:Bewerbung") ("nnfolder+private:Olga") ("nnfolder+private:Chris") ("nnfolder+private:emacs.personal") ("nnfolder+private:suse.announce") ("nnfolder+private:zorn.list") ("nnfolder+private:Dorothy") ("nnfolder+private:misc.music.email") ("nnfolder+private:Dad") ("nnfolder+private:uzine") ("nnfolder+private:vital") ("nnfolder+private:ling.misc") ("nnfolder+private:suse.programming.e") ("nnfolder+private:GMX") ("nnfolder+private:misc.personal") ...) nil nil "nnfolder+private:" gnus-group-history nil)
  gnus-emacs-completing-read("Move this article to: " ("nnfolder+archive:sent" "nnfolder+private:sent" "nnfolder+private:braxton.list" "nnfolder+private:Dana" "nndraft:drafts" "nnfolder+private:suse.laptop" "nnfolder+private:spam" "nnfolder+private:kde.announce" "nnfolder+private:jim.orourke.list" "nnfolder+private:vortraege" "nnfolder+private:suse.security" "nnfolder+private:unsorted-GMX" "nnfolder+private:micc" "nnfolder+private:escher" "nnfolder+private:suse.linux.e" "nnfolder+private:Annie" "nndraft:queue" "nnfolder+private:amazon" "nnfolder+private:kde.linux" "nnfolder+private:ixsoft" "nnfolder+private:lowercase.sound.list" "nnfolder+private:linguist.list" "nnfolder+private:bug.gnu.emacs" "nnfolder+private:help.gnu.emacs" "nnfolder+private:epulse.list" "nnfolder+private:Arline" "nnfolder+private:suse.linux" "nnfolder+private:Judith" "nnfolder+private:sun.one" "nnfolder+private:Evan" "nnfolder+private:Diane" "nnfolder+private:bnc.discuss" "nnfolder+private:swr2.lists" "nnfolder+private:unsorted" "nnfolder+private:saved-messages" "nnfolder+private:Bewerbung" "nnfolder+private:Olga" "nnfolder+private:Chris" "nnfolder+private:emacs.personal" "nnfolder+private:suse.announce" "nnfolder+private:zorn.list" "nnfolder+private:Dorothy" "nnfolder+private:misc.music.email" "nnfolder+private:Dad" "nnfolder+private:uzine" "nnfolder+private:vital" "nnfolder+private:ling.misc" "nnfolder+private:suse.programming.e" "nnfolder+private:GMX" "nnfolder+private:misc.personal" ...) nil "nnfolder+private:" gnus-group-history nil)
  gnus-completing-read("Move this article to" ("nnfolder+archive:sent" "nnfolder+private:sent" "nnfolder+private:braxton.list" "nnfolder+private:Dana" "nndraft:drafts" "nnfolder+private:suse.laptop" "nnfolder+private:spam" "nnfolder+private:kde.announce" "nnfolder+private:jim.orourke.list" "nnfolder+private:vortraege" "nnfolder+private:suse.security" "nnfolder+private:unsorted-GMX" "nnfolder+private:micc" "nnfolder+private:escher" "nnfolder+private:suse.linux.e" "nnfolder+private:Annie" "nndraft:queue" "nnfolder+private:amazon" "nnfolder+private:kde.linux" "nnfolder+private:ixsoft" "nnfolder+private:lowercase.sound.list" "nnfolder+private:linguist.list" "nnfolder+private:bug.gnu.emacs" "nnfolder+private:help.gnu.emacs" "nnfolder+private:epulse.list" "nnfolder+private:Arline" "nnfolder+private:suse.linux" "nnfolder+private:Judith" "nnfolder+private:sun.one" "nnfolder+private:Evan" "nnfolder+private:Diane" "nnfolder+private:bnc.discuss" "nnfolder+private:swr2.lists" "nnfolder+private:unsorted" "nnfolder+private:saved-messages" "nnfolder+private:Bewerbung" "nnfolder+private:Olga" "nnfolder+private:Chris" "nnfolder+private:emacs.personal" "nnfolder+private:suse.announce" "nnfolder+private:zorn.list" "nnfolder+private:Dorothy" "nnfolder+private:misc.music.email" "nnfolder+private:Dad" "nnfolder+private:uzine" "nnfolder+private:vital" "nnfolder+private:ling.misc" "nnfolder+private:suse.programming.e" "nnfolder+private:GMX" "nnfolder+private:misc.personal" ...) nil "nnfolder+private:" gnus-group-history nil)
  gnus-group-completing-read("Move this article to" [nnfolder+archive:sent nnfolder+private:sent nnfolder+private:braxton\.list nnfolder+private:Dana nndraft:drafts nnfolder+private:suse\.laptop nnfolder+private:spam nnfolder+private:kde\.announce nnfolder+private:jim\.orourke\.list nnfolder+private:vortraege nnfolder+private:suse\.security nnfolder+private:unsorted-GMX nnfolder+private:micc nnfolder+private:escher nnfolder+private:suse\.linux\.e nnfolder+private:Annie nndraft:queue nnfolder+private:amazon nnfolder+private:kde\.linux nnfolder+private:ixsoft nnfolder+private:lowercase\.sound\.list nnfolder+private:linguist\.list nnfolder+private:bug\.gnu\.emacs nnfolder+private:help\.gnu\.emacs nnfolder+private:epulse\.list nnfolder+private:Arline nnfolder+private:suse\.linux nnfolder+private:Judith nnfolder+private:sun\.one nnfolder+private:Evan nnfolder+private:Diane nnfolder+private:bnc\.discuss nnfolder+private:swr2\.lists nnfolder+private:unsorted nnfolder+private:saved-messages nnfolder+private:Bewerbung nnfolder+private:Olga nnfolder+private:Chris nnfolder+private:emacs\.personal nnfolder+private:suse\.announce nnfolder+private:zorn\.list nnfolder+private:Dorothy nnfolder+private:misc\.music\.email nnfolder+private:Dad nnfolder+private:uzine nnfolder+private:vital nnfolder+private:ling\.misc nnfolder+private:suse\.programming\.e nnfolder+private:GMX nnfolder+private:misc\.personal ...] nil "nnfolder+private:" nil nil)
  gnus-read-move-group-name("Move" nil (1739) "nnfolder+private:")
  gnus-summary-move-article(nil)
  call-interactively(gnus-summary-move-article nil nil)

[-- Attachment #3: backtrace good completion --]
[-- Type: application/octet-stream, Size: 6331 bytes --]

Debugger entered--Lisp error: (quit)
  completing-read("Move this article to: " (("nnfolder+archive:sent") ("nnfolder+private:sent") ("nnfolder+private:silence.list") ("nnfolder+private:Dana") ("nndraft:drafts") ("nnfolder+private:suse.laptop") ("nnfolder+private:spam") ("nnfolder+private:kde.announce") ("nnfolder+private:jim.orourke.list") ("nnfolder+private:vortraege") ("nnfolder+private:suse.security") ("nnfolder+private:unsorted-GMX") ("nnfolder+private:micc") ("nnfolder+private:escher") ("nnfolder+private:suse.linux.e") ("nnfolder+private:Annie") ("nndraft:queue") ("nnfolder+private:amazon") ("nnfolder+private:kde.linux") ("nnfolder+private:ixsoft") ("nnfolder+private:lowercase.sound.list") ("nnfolder+private:linguist.list") ("nnfolder+private:bug.gnu.emacs") ("nnfolder+private:help.gnu.emacs") ("nnfolder+private:epulse.list") ("nnfolder+private:Arline") ("nnfolder+private:suse.linux") ("nnfolder+private:Judith") ("nnfolder+private:sun.one") ("nnfolder+private:Evan") ("nnfolder+private:Diane") ("nnfolder+private:bnc.discuss") ("nnfolder+private:swr2.lists") ("nnfolder+private:unsorted") ("nnfolder+private:saved-messages") ("nnfolder+private:Bewerbung") ("nnfolder+private:Olga") ("nnfolder+private:Chris") ("nnfolder+private:emacs.personal") ("nnfolder+private:suse.announce") ("nnfolder+private:zorn.list") ("nnfolder+private:Dorothy") ("nnfolder+private:misc.music.email") ("nnfolder+private:Dad") ("nnfolder+private:uzine") ("nnfolder+private:vital") ("nnfolder+private:comp.misc") ("nnfolder+private:suse.programming.e") ("nnfolder+private:GMX") ("nnfolder+private:misc.personal") ...) nil nil "nnfolder+private:" gnus-group-history nil)
  gnus-emacs-completing-read("Move this article to: " ("nnfolder+archive:sent" "nnfolder+private:sent" "nnfolder+private:silence.list" "nnfolder+private:Dana" "nndraft:drafts" "nnfolder+private:suse.laptop" "nnfolder+private:spam" "nnfolder+private:kde.announce" "nnfolder+private:jim.orourke.list" "nnfolder+private:vortraege" "nnfolder+private:suse.security" "nnfolder+private:unsorted-GMX" "nnfolder+private:micc" "nnfolder+private:escher" "nnfolder+private:suse.linux.e" "nnfolder+private:Annie" "nndraft:queue" "nnfolder+private:amazon" "nnfolder+private:kde.linux" "nnfolder+private:ixsoft" "nnfolder+private:lowercase.sound.list" "nnfolder+private:linguist.list" "nnfolder+private:bug.gnu.emacs" "nnfolder+private:help.gnu.emacs" "nnfolder+private:epulse.list" "nnfolder+private:Arline" "nnfolder+private:suse.linux" "nnfolder+private:Judith" "nnfolder+private:sun.one" "nnfolder+private:Evan" "nnfolder+private:Diane" "nnfolder+private:bnc.discuss" "nnfolder+private:swr2.lists" "nnfolder+private:unsorted" "nnfolder+private:saved-messages" "nnfolder+private:Bewerbung" "nnfolder+private:Olga" "nnfolder+private:Chris" "nnfolder+private:emacs.personal" "nnfolder+private:suse.announce" "nnfolder+private:zorn.list" "nnfolder+private:Dorothy" "nnfolder+private:misc.music.email" "nnfolder+private:Dad" "nnfolder+private:uzine" "nnfolder+private:vital" "nnfolder+private:comp.misc" "nnfolder+private:suse.programming.e" "nnfolder+private:GMX" "nnfolder+private:misc.personal" ...) nil "nnfolder+private:" gnus-group-history nil)
  gnus-completing-read("Move this article to" ("nnfolder+archive:sent" "nnfolder+private:sent" "nnfolder+private:silence.list" "nnfolder+private:Dana" "nndraft:drafts" "nnfolder+private:suse.laptop" "nnfolder+private:spam" "nnfolder+private:kde.announce" "nnfolder+private:jim.orourke.list" "nnfolder+private:vortraege" "nnfolder+private:suse.security" "nnfolder+private:unsorted-GMX" "nnfolder+private:micc" "nnfolder+private:escher" "nnfolder+private:suse.linux.e" "nnfolder+private:Annie" "nndraft:queue" "nnfolder+private:amazon" "nnfolder+private:kde.linux" "nnfolder+private:ixsoft" "nnfolder+private:lowercase.sound.list" "nnfolder+private:linguist.list" "nnfolder+private:bug.gnu.emacs" "nnfolder+private:help.gnu.emacs" "nnfolder+private:epulse.list" "nnfolder+private:Arline" "nnfolder+private:suse.linux" "nnfolder+private:Judith" "nnfolder+private:sun.one" "nnfolder+private:Evan" "nnfolder+private:Diane" "nnfolder+private:bnc.discuss" "nnfolder+private:swr2.lists" "nnfolder+private:unsorted" "nnfolder+private:saved-messages" "nnfolder+private:Bewerbung" "nnfolder+private:Olga" "nnfolder+private:Chris" "nnfolder+private:emacs.personal" "nnfolder+private:suse.announce" "nnfolder+private:zorn.list" "nnfolder+private:Dorothy" "nnfolder+private:misc.music.email" "nnfolder+private:Dad" "nnfolder+private:uzine" "nnfolder+private:vital" "nnfolder+private:comp.misc" "nnfolder+private:suse.programming.e" "nnfolder+private:GMX" "nnfolder+private:misc.personal" ...) nil "nnfolder+private:" gnus-group-history nil)
  gnus-group-completing-read("Move this article to" [nnfolder+archive:sent nnfolder+private:sent nnfolder+private:silence\.list nnfolder+private:Dana nndraft:drafts nnfolder+private:suse\.laptop nnfolder+private:spam nnfolder+private:kde\.announce nnfolder+private:jim\.orourke\.list nnfolder+private:vortraege nnfolder+private:suse\.security nnfolder+private:unsorted-GMX nnfolder+private:micc nnfolder+private:escher nnfolder+private:suse\.linux\.e nnfolder+private:Annie nndraft:queue nnfolder+private:amazon nnfolder+private:kde\.linux nnfolder+private:ixsoft nnfolder+private:lowercase\.sound\.list nnfolder+private:linguist\.list nnfolder+private:bug\.gnu\.emacs nnfolder+private:help\.gnu\.emacs nnfolder+private:epulse\.list nnfolder+private:Arline nnfolder+private:suse\.linux nnfolder+private:Judith nnfolder+private:sun\.one nnfolder+private:Evan nnfolder+private:Diane nnfolder+private:bnc\.discuss nnfolder+private:swr2\.lists nnfolder+private:unsorted nnfolder+private:saved-messages nnfolder+private:Bewerbung nnfolder+private:Olga nnfolder+private:Chris nnfolder+private:emacs\.personal nnfolder+private:suse\.announce nnfolder+private:zorn\.list nnfolder+private:Dorothy nnfolder+private:misc\.music\.email nnfolder+private:Dad nnfolder+private:uzine nnfolder+private:vital nnfolder+private:comp\.misc nnfolder+private:suse\.programming\.e nnfolder+private:GMX nnfolder+private:misc\.personal ...] nil "nnfolder+private:" nil nil)
  gnus-read-move-group-name("Move" nil (1739) "nnfolder+private:")
  gnus-summary-move-article(nil)
  call-interactively(gnus-summary-move-article nil nil)

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

* Re: Completion is incomplete
  2010-10-05 11:12   ` Stephen Berman
@ 2010-10-05 11:26     ` Julien Danjou
  2010-10-05 11:59       ` Stephen Berman
  0 siblings, 1 reply; 13+ messages in thread
From: Julien Danjou @ 2010-10-05 11:26 UTC (permalink / raw)
  To: Stephen Berman; +Cc: ding

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

On Tue, Oct 05 2010, Stephen Berman wrote:

> I've attached two backtraces, the first from the faulty completion with
> Emacs running under the daemon, the second from good completion with
> Emacs not running under the daemon.  They show relevant differences,
> though I don't see anything indicating how those differences arose (much
> less what the daemon has to do with it); hope you do.

I don't see any difference in the backtraces. Is it my eyes? :)

-- 
Julien Danjou
// ᐰ <julien@danjou.info>   http://julien.danjou.info

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: Completion is incomplete
  2010-10-05 11:26     ` Julien Danjou
@ 2010-10-05 11:59       ` Stephen Berman
  2010-10-05 12:33         ` Julien Danjou
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Berman @ 2010-10-05 11:59 UTC (permalink / raw)
  To: ding

On Tue, 05 Oct 2010 13:26:14 +0200 Julien Danjou <julien@danjou.info> wrote:

> On Tue, Oct 05 2010, Stephen Berman wrote:
>
>> I've attached two backtraces, the first from the faulty completion with
>> Emacs running under the daemon, the second from good completion with
>> Emacs not running under the daemon.  They show relevant differences,
>> though I don't see anything indicating how those differences arose (much
>> less what the daemon has to do with it); hope you do.
>
> I don't see any difference in the backtraces. Is it my eyes? :)

If you compared them with ediff, then, yes, it's your eyes ;-)

Steve Berman




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

* Re: Completion is incomplete
  2010-10-05 11:59       ` Stephen Berman
@ 2010-10-05 12:33         ` Julien Danjou
  2010-10-05 13:55           ` Stephen Berman
  0 siblings, 1 reply; 13+ messages in thread
From: Julien Danjou @ 2010-10-05 12:33 UTC (permalink / raw)
  To: Stephen Berman; +Cc: ding

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

On Tue, Oct 05 2010, Stephen Berman wrote:

> If you compared them with ediff, then, yes, it's your eyes ;-)

OK… :-) Now I see that there's some groups that are in different orders,
but anyhow the whole list is not in the backtrace, there's "...". In
both cases you should have a full list of your groups. I think I did not
understand what's wrong at the beginning. Do you see only 1 group in the
completing-read choices?

-- 
Julien Danjou
// ᐰ <julien@danjou.info>   http://julien.danjou.info

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: Completion is incomplete
  2010-10-05 12:33         ` Julien Danjou
@ 2010-10-05 13:55           ` Stephen Berman
  2010-10-05 16:50             ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Berman @ 2010-10-05 13:55 UTC (permalink / raw)
  To: ding

On Tue, 05 Oct 2010 14:33:59 +0200 Julien Danjou <julien@danjou.info> wrote:

> On Tue, Oct 05 2010, Stephen Berman wrote:
>
>> If you compared them with ediff, then, yes, it's your eyes ;-)
>
> OK… :-) Now I see that there's some groups that are in different orders,

It's not different orders, but rather the two backtraces differ in the
(visible) entries of two groups: the "good" backtrace has the groups
"nnfolder+private:silence.list" and "nnfolder+private:comp.misc", while
the "bad" backtrace has, in the corresponding list positions,
"nnfolder+private:braxton.list" and "nnfolder+private:ling.misc".  The
"comp.misc" group is missing from the bad backtrace, and precisely that
group is missing from the completion list.

> but anyhow the whole list is not in the backtrace, there's "...". In
> both cases you should have a full list of your groups. 

I don't know why the lists are abbreviated.  I wonder if that has to do
with print-level (which Lars increased recently)?  But I don't know how
to test for that or change it temporarily.

>                                                        I think I did not
> understand what's wrong at the beginning. Do you see only 1 group in the
> completing-read choices?

I don't even get a *Completions* buffer; instead, TAB completes to the
group "nnfolder+private:computer.personal", and hitting TAB again add
"[Sole completion]".  Again, only with --daemon.

Steve Berman




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

* Re: Completion is incomplete
  2010-10-05 13:55           ` Stephen Berman
@ 2010-10-05 16:50             ` Lars Magne Ingebrigtsen
  2010-10-05 19:09               ` Stephen Berman
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-05 16:50 UTC (permalink / raw)
  To: ding

Stephen Berman <stephen.berman@gmx.net> writes:

> I don't know why the lists are abbreviated.  I wonder if that has to do
> with print-level (which Lars increased recently)?  But I don't know how
> to test for that or change it temporarily.

(setq print-length nil)

> I don't even get a *Completions* buffer; instead, TAB completes to the
> group "nnfolder+private:computer.personal", and hitting TAB again add
> "[Sole completion]".  Again, only with --daemon.

It almost sounds like Gnus doesn't know about some of the groups when
you start with --daemon?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Completion is incomplete
  2010-10-05 16:50             ` Lars Magne Ingebrigtsen
@ 2010-10-05 19:09               ` Stephen Berman
  2010-10-05 20:12                 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Berman @ 2010-10-05 19:09 UTC (permalink / raw)
  To: ding

On Tue, 05 Oct 2010 18:50:45 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> I don't know why the lists are abbreviated.  I wonder if that has to do
>> with print-level (which Lars increased recently)?  But I don't know how
>> to test for that or change it temporarily.
>
> (setq print-length nil)

The value of print-length is nil when I start Emacs with -Q, and loading
the cl library, starting Gnus, and setting debug-on-quit doesn't alter
the value.  Moreover, even after explicitly doing `M-: (setq
print-length nil)', the backtrace is still abbreviated.

>> I don't even get a *Completions* buffer; instead, TAB completes to the
>> group "nnfolder+private:computer.personal", and hitting TAB again add
>> "[Sole completion]".  Again, only with --daemon.
>
> It almost sounds like Gnus doesn't know about some of the groups when
> you start with --daemon?

Could it be that this induces a race condition?  I ask because the first
time I did `M-: (setq print-length nil)' as above and then tried to use
completion in Gnus, to my surprise it worked as it should, no missing
completion.  But when I tried to reproduce this success, I got the
faulty completion again.  This has happened several times now.  So it
seems like some kind of timing issue.  Or a heisenbug.

Steve Berman




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

* Re: Completion is incomplete
  2010-10-05 19:09               ` Stephen Berman
@ 2010-10-05 20:12                 ` Lars Magne Ingebrigtsen
  2010-10-05 20:41                   ` Stephen Berman
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-05 20:12 UTC (permalink / raw)
  To: ding

Stephen Berman <stephen.berman@gmx.net> writes:

> But when I tried to reproduce this success, I got the faulty
> completion again.  This has happened several times now.  So it seems
> like some kind of timing issue.  Or a heisenbug.

How do you start Emacs/Gnus exactly? 

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Completion is incomplete
  2010-10-05 20:12                 ` Lars Magne Ingebrigtsen
@ 2010-10-05 20:41                   ` Stephen Berman
  2010-10-07 19:09                     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Berman @ 2010-10-05 20:41 UTC (permalink / raw)
  To: ding

On Tue, 05 Oct 2010 22:12:22 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> But when I tried to reproduce this success, I got the faulty
>> completion again.  This has happened several times now.  So it seems
>> like some kind of timing issue.  Or a heisenbug.
>
> How do you start Emacs/Gnus exactly? 

I call the Emacs executable from Bash; as I noted, I have observed the
faulty completion only with --daemon, so:

steve@escher:~> ~/lib/emacs/gtk/src/emacs --debug-init --daemon

Then I start a client instance:

steve@escher:~> emacsclient -c &

I start Gnus either with `M-x gnus' or often, since my newsgroups are
agentized, with gnus-unplugged (which I have wrapped in a function that
either switches to the Group buffer or calls gnus-unplugged).

Steve Berman




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

* Re: Completion is incomplete
  2010-10-05 20:41                   ` Stephen Berman
@ 2010-10-07 19:09                     ` Lars Magne Ingebrigtsen
  2010-10-07 21:41                       ` Stephen Berman
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-07 19:09 UTC (permalink / raw)
  To: ding

Stephen Berman <stephen.berman@gmx.net> writes:

> I start Gnus either with `M-x gnus' or often, since my newsgroups are
> agentized, with gnus-unplugged (which I have wrapped in a function that
> either switches to the Group buffer or calls gnus-unplugged).

I think the issue is probably this:

(defun gnus-valid-move-group-p (group)
  (and (symbolp group)
       (boundp group)
       (symbol-name group)
       (symbol-value group)
       (gnus-get-function (gnus-find-method-for-group
			   (symbol-name group)) 'request-accept-article t)))

If the group hasn't been activated at all, then its value will probably
be nil.

So the root cause here might be that the group hasn't been handled at
all by the Gnus startup.  Is that likely?  Is it displayed in the Group
buffer? 

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Completion is incomplete
  2010-10-07 19:09                     ` Lars Magne Ingebrigtsen
@ 2010-10-07 21:41                       ` Stephen Berman
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Berman @ 2010-10-07 21:41 UTC (permalink / raw)
  To: ding

On Thu, 07 Oct 2010 21:09:08 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> I start Gnus either with `M-x gnus' or often, since my newsgroups are
>> agentized, with gnus-unplugged (which I have wrapped in a function that
>> either switches to the Group buffer or calls gnus-unplugged).
>
> I think the issue is probably this:
>
> (defun gnus-valid-move-group-p (group)
>   (and (symbolp group)
>        (boundp group)
>        (symbol-name group)
>        (symbol-value group)
>        (gnus-get-function (gnus-find-method-for-group
> 			   (symbol-name group)) 'request-accept-article t)))
>
> If the group hasn't been activated at all, then its value will probably
> be nil.
>
> So the root cause here might be that the group hasn't been handled at
> all by the Gnus startup.  Is that likely?  Is it displayed in the Group
> buffer? 

Yes, the group that completion did not show was displayed in the Group
buffer.  That struck me as very odd, that I could see the group yet
completion did not.

But I currently cannot test your hypothesies because, since my previous
post, I haven't observed the faulty completion again, though I have
started Emacs with --daemon.  Maybe it really is a heisenbug.  (But if
it happens again, I'll try to apply the test.)

Steve Berman




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

end of thread, other threads:[~2010-10-07 21:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-05  9:01 Completion is incomplete Stephen Berman
2010-10-05 10:15 ` Julien Danjou
2010-10-05 11:12   ` Stephen Berman
2010-10-05 11:26     ` Julien Danjou
2010-10-05 11:59       ` Stephen Berman
2010-10-05 12:33         ` Julien Danjou
2010-10-05 13:55           ` Stephen Berman
2010-10-05 16:50             ` Lars Magne Ingebrigtsen
2010-10-05 19:09               ` Stephen Berman
2010-10-05 20:12                 ` Lars Magne Ingebrigtsen
2010-10-05 20:41                   ` Stephen Berman
2010-10-07 19:09                     ` Lars Magne Ingebrigtsen
2010-10-07 21:41                       ` Stephen Berman

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 NNTP newsgroup(s).