* gnus/nnimap: Search broke again?
@ 2021-02-04 16:27 T.V Raman
2021-02-04 17:48 ` Stefan Monnier
0 siblings, 1 reply; 8+ messages in thread
From: T.V Raman @ 2021-02-04 16:27 UTC (permalink / raw)
To: emacs-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 294 bytes --]
As of today, (emacs built yesterday) nnimap search fails with 0 hits
for imap/gmail queries like after:2021/30/01 from:rms
Did something change again?
Could we have some tests in place so the nnimap search api doesn't regress?
--
Thanks,
--Raman
7©4 Id: kg:/m/0285kf1 0Ü8
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnus/nnimap: Search broke again?
2021-02-04 16:27 gnus/nnimap: Search broke again? T.V Raman
@ 2021-02-04 17:48 ` Stefan Monnier
2021-02-04 17:50 ` T.V Raman
2021-02-04 19:05 ` T.V Raman
0 siblings, 2 replies; 8+ messages in thread
From: Stefan Monnier @ 2021-02-04 17:48 UTC (permalink / raw)
To: T.V Raman; +Cc: emacs-devel
> As of today, (emacs built yesterday) nnimap search fails with 0 hits
> for imap/gmail queries like after:2021/30/01 from:rms
>
> Did something change again?
Probably my fault (conversion to lexical-binding).
Any chance you can provide a backtrace of something (I see you don't
actually get an error, so it might prove tricky, but maybe by setting
`debug-on-signal` [he said, unconvinced])?
Stefan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnus/nnimap: Search broke again?
2021-02-04 17:48 ` Stefan Monnier
@ 2021-02-04 17:50 ` T.V Raman
2021-02-05 3:45 ` Eric Abrahamsen
2021-02-04 19:05 ` T.V Raman
1 sibling, 1 reply; 8+ messages in thread
From: T.V Raman @ 2021-02-04 17:50 UTC (permalink / raw)
To: monnier; +Cc: raman, emacs-devel
No debug / backtrace -- just get "no results" or similar message.
Stefan Monnier writes:
> > As of today, (emacs built yesterday) nnimap search fails with 0 hits
> > for imap/gmail queries like after:2021/30/01 from:rms
> >
> > Did something change again?
>
> Probably my fault (conversion to lexical-binding).
> Any chance you can provide a backtrace of something (I see you don't
> actually get an error, so it might prove tricky, but maybe by setting
> `debug-on-signal` [he said, unconvinced])?
>
>
> Stefan
--
♉Id: kg:/m/0285kf1 🦮♉
--
♉Id: kg:/m/0285kf1 🦮♉
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnus/nnimap: Search broke again?
2021-02-04 17:48 ` Stefan Monnier
2021-02-04 17:50 ` T.V Raman
@ 2021-02-04 19:05 ` T.V Raman
2021-02-08 23:05 ` Stefan Monnier
1 sibling, 1 reply; 8+ messages in thread
From: T.V Raman @ 2021-02-04 19:05 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 734 bytes --]
Stefan Monnier <monnier@iro.umontreal.ca> writes:
I added a couple of cl-declare special to my nnimap gmail searcher and
it's now returning results
https://github.com/tvraman/emacspeak/blob/master/lisp/gm-nnir.el#L134
>> As of today, (emacs built yesterday) nnimap search fails with 0 hits
>> for imap/gmail queries like after:2021/30/01 from:rms
>>
>> Did something change again?
>
> Probably my fault (conversion to lexical-binding).
> Any chance you can provide a backtrace of something (I see you don't
> actually get an error, so it might prove tricky, but maybe by setting
> `debug-on-signal` [he said, unconvinced])?
>
>
> Stefan
>
>
--
Thanks,
--Raman
7©4 Id: kg:/m/0285kf1 0Ü8
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnus/nnimap: Search broke again?
2021-02-04 19:05 ` T.V Raman
@ 2021-02-08 23:05 ` Stefan Monnier
2021-02-09 2:49 ` T.V Raman
0 siblings, 1 reply; 8+ messages in thread
From: Stefan Monnier @ 2021-02-08 23:05 UTC (permalink / raw)
To: T.V Raman; +Cc: emacs-devel
> I added a couple of cl-declare special to my nnimap gmail searcher and
> it's now returning results
> https://github.com/tvraman/emacspeak/blob/master/lisp/gm-nnir.el#L134
So you're saying this change on your side fixes the problem for you?
I don't understand: this `gm-nnir` is not part of the code I converted
to lexical-binding. The change your URL points seems to fix a problem
in your code, indeed, but I can't see why this problem would have
appeared at the same time as my changes.
I do notice something odd also in that change of yours: why do you
`cl-declare` as a special var `gnus-group-group-name` which is
a function (and which you indeed don't use as a variable either)?
Stefan
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-02-09 15:17 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-04 16:27 gnus/nnimap: Search broke again? T.V Raman
2021-02-04 17:48 ` Stefan Monnier
2021-02-04 17:50 ` T.V Raman
2021-02-05 3:45 ` Eric Abrahamsen
2021-02-04 19:05 ` T.V Raman
2021-02-08 23:05 ` Stefan Monnier
2021-02-09 2:49 ` T.V Raman
2021-02-09 15:17 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.