* Weirdness with Agenda and "C-u r"
@ 2016-01-16 2:19 Eric Abrahamsen
2016-01-16 9:35 ` Marco Wahl
0 siblings, 1 reply; 3+ messages in thread
From: Eric Abrahamsen @ 2016-01-16 2:19 UTC (permalink / raw)
To: emacs-orgmode
Something seems to have gone off with the `org-tags-view' Agenda view:
if I hit "C-u r" to search with another string, I get this traceback:
Debugger entered--Lisp error: (invalid-function 4)
(4)
(org-tags-view (4) (if current-prefix-arg nil "publishing"))
(let nil (org-tags-view (4) (if current-prefix-arg nil "publishing")))
eval((let nil (org-tags-view (4) (if current-prefix-arg nil "publishing"))))
org-let(nil (org-tags-view (4) (if current-prefix-arg nil "publishing")))
org-agenda-redo((4))
funcall-interactively(org-agenda-redo (4))
call-interactively(org-agenda-redo nil nil)
command-execute(org-agenda-redo)
I tried e-debugging `org-agenda-redo', but something magic happens when
it gets to the org-let, and no light was shed.
I seem to remember there have been some changes to the tag matching code
recently -- maybe that's it? Happy to bisect if necessary.
Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Weirdness with Agenda and "C-u r"
2016-01-16 2:19 Weirdness with Agenda and "C-u r" Eric Abrahamsen
@ 2016-01-16 9:35 ` Marco Wahl
2016-01-17 6:03 ` Eric Abrahamsen
0 siblings, 1 reply; 3+ messages in thread
From: Marco Wahl @ 2016-01-16 9:35 UTC (permalink / raw)
To: emacs-orgmode
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> Something seems to have gone off with the `org-tags-view' Agenda view:
> if I hit "C-u r" to search with another string, I get this traceback:
>
> Debugger entered--Lisp error: (invalid-function 4)
> (4)
> (org-tags-view (4) (if current-prefix-arg nil "publishing"))
> (let nil (org-tags-view (4) (if current-prefix-arg nil "publishing")))
> eval((let nil (org-tags-view (4) (if current-prefix-arg nil "publishing"))))
> org-let(nil (org-tags-view (4) (if current-prefix-arg nil "publishing")))
> org-agenda-redo((4))
> funcall-interactively(org-agenda-redo (4))
> call-interactively(org-agenda-redo nil nil)
> command-execute(org-agenda-redo)
>
> I tried e-debugging `org-agenda-redo', but something magic happens when
> it gets to the org-let, and no light was shed.
> I seem to remember there have been some changes to the tag matching code
> recently -- maybe that's it? Happy to bisect if necessary.
FWIW I cannot reproduce the behavior you describe with commit 164555b4
having some files in `org-agenda-files' with some tags.
Concretely with file
#v+
* One :tag1:
One.
* Two :tag2:
Two.
#v-
in `org-agenda-files' and the actions
#v+
M-x org-tags-view tag1
C-u r tag2
#v-
the agenda
#v+
Headlines with TAGS match: tag2
Press ‘C-u r’ to search again with new search string
tmp: Two :tag2:
#v-
appears.
HTH,
--
Marco Wahl
GPG: 0x49010A040A3AE6F2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Weirdness with Agenda and "C-u r"
2016-01-16 9:35 ` Marco Wahl
@ 2016-01-17 6:03 ` Eric Abrahamsen
0 siblings, 0 replies; 3+ messages in thread
From: Eric Abrahamsen @ 2016-01-17 6:03 UTC (permalink / raw)
To: emacs-orgmode
Marco Wahl <marcowahlsoft@gmail.com> writes:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Something seems to have gone off with the `org-tags-view' Agenda view:
>> if I hit "C-u r" to search with another string, I get this traceback:
>>
>> Debugger entered--Lisp error: (invalid-function 4)
>> (4)
>> (org-tags-view (4) (if current-prefix-arg nil "publishing"))
>> (let nil (org-tags-view (4) (if current-prefix-arg nil "publishing")))
>> eval((let nil (org-tags-view (4) (if current-prefix-arg nil "publishing"))))
>> org-let(nil (org-tags-view (4) (if current-prefix-arg nil "publishing")))
>> org-agenda-redo((4))
>> funcall-interactively(org-agenda-redo (4))
>> call-interactively(org-agenda-redo nil nil)
>> command-execute(org-agenda-redo)
>>
>> I tried e-debugging `org-agenda-redo', but something magic happens when
>> it gets to the org-let, and no light was shed.
>
>> I seem to remember there have been some changes to the tag matching code
>> recently -- maybe that's it? Happy to bisect if necessary.
>
> FWIW I cannot reproduce the behavior you describe with commit 164555b4
> having some files in `org-agenda-files' with some tags.
Thanks for your reply. That's pretty weird! I just pulled and re-made,
and emacs -Q still does it, even with no Org agenda files defined. Just
a plain empty Agenda, then C-u r. I wish I knew what edebug was doing
with that org-let.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-17 6:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-16 2:19 Weirdness with Agenda and "C-u r" Eric Abrahamsen
2016-01-16 9:35 ` Marco Wahl
2016-01-17 6:03 ` Eric Abrahamsen
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).