Re: [O] Bug: master: "Capture abort: (error Format specifier doesn’t match argument type)"

2018-04-07 Thread Gregor Zattler
Hi Nicolas,
* Nicolas Goaziou  [2018-04-03; 22:05]:
> Gregor Zattler  writes:
>
>> Yes, sure.  Sorry, for my laziness.  None of my templates work any more
>> with git master.  This is a (for privacy reasons) shortend version of
>> my customizations, done with the customize system:
>>
>> ...
>>  '(org-capture-templates
>>(quote
>> (("c" "Computer" entry
>>   (file+olp "~/org/grfz.org" "Computer")
>>   "* TODO %? %^{}G
>>   %I
>
> There is no such thing as a "%I" placeholder. Do you mean "%I"?

Yes, I mean %i, the capital %I in this quote is --as I realize
now, while typing this email-- an abbrev artefact.[1]  I assume I
pasted from the X11 selection and the abbrev capitalized it.

In my customizations file all templates have %I.  Sorry for this
very special noise: this capital I does not explain the capture
errors I experience with recent git master, since they are not
part of my templates.

Ciao; Gregor

[1] English is a foreign language to me, I always type the
personal pronoun "I" with a small letter and once thought it
would be a good idea to automatically correct this.  Later I
forgot about this.




Re: [O] Bug: master: "Capture abort: (error Format specifier doesn’t match argument type)"

2018-04-05 Thread Gregor Zattler
Hi Nicolas, org-mode devs,
* Gregor Zattler  [2018-04-02; 14:33]:
[...]
> I get
>
> "Capture abort: (error Format specifier doesn’t match argument
> type)"
>
> after hitting the template key in order to capture something.
[...]
> I tried to bisect this with
> make autoloads ; emacs-snapshot -nw --debug-init --eval '(org-capture 4 "t")'
> as a test, but did not find the culprit.

This is, because the bisecting does not find the first bad commit,
but perhaps this helps somehow:

0 (master=) grfz@len:~/src/org-mode$ git bisect start
0 (master|BISECTING=) grfz@len:~/src/org-mode$ cd ~/src/org-mode; rm -rf * ; 
git co -f ; make autoloads > /dev/null 2> /dev/null; emacs-snapshot  --eval 
'(org-capture 4  "t")'
Your branch is up-to-date with 'origin/master'.
0 (master|BISECTING=) grfz@len:~/src/org-mode$ git bisect bad
0 (master|BISECTING=) grfz@len:~/src/org-mode$ git co -f 
2348d1834351b57d5ff9bbdb2c74c3e69ed60cfb
Note: checking out '2348d1834351b57d5ff9bbdb2c74c3e69ed60cfb'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
  
  git checkout -b 

HEAD is now at 2348d1834... Merge branch 'maint'
0 ((2348d1834...)|BISECTING) grfz@len:~/src/org-mode$ cd ~/src/org-mode; rm -rf 
* ; git co -f ; make autoloads > /dev/null 2> /dev/null; emacs-snapshot  --eval 
'(org-capture 4  "t")'
0 ((2348d1834...)|BISECTING) grfz@len:~/src/org-mode$ git bisect good
Bisecting: 843 revisions left to test after this (roughly 10 steps)
[b6c5a174da7523864d82f6d91cce272d38c1dc95] org-agenda: Refactor 
org-agenda-overriding-header code
0 ((b6c5a174d...)|BISECTING) grfz@len:~/src/org-mode$ cd ~/src/org-mode; rm -rf 
* ; git co -f ; make autoloads > /dev/null 2> /dev/null; emacs-snapshot  --eval 
'(org-capture 4  "t")'
0 ((b6c5a174d...)|BISECTING) grfz@len:~/src/org-mode$ git bisect good
Bisecting: 421 revisions left to test after this (roughly 9 steps)
[ef2485e7ce6e5ef4e47c42898d9bb1b956142df5] manual: Sync with org.texi
0 ((ef2485e7c...)|BISECTING) grfz@len:~/src/org-mode$ cd ~/src/org-mode; rm -rf 
* ; git co -f ; make autoloads > /dev/null 2> /dev/null; emacs-snapshot  --eval 
'(org-capture 4  "t")'
0 ((ef2485e7c...)|BISECTING) grfz@len:~/src/org-mode$ git bisect bad
Bisecting: 210 revisions left to test after this (roughly 8 steps)
[36578fda469b1f5cc48f05c5e07e4aba8c5ae7cb] Merge branch 'maint'
0 ((36578fda4...)|BISECTING) grfz@len:~/src/org-mode$ cd ~/src/org-mode; rm -rf 
* ; git co -f ; make autoloads > /dev/null 2> /dev/null; emacs-snapshot  --eval 
'(org-capture 4  "t")'
0 ((36578fda4...)|BISECTING) grfz@len:~/src/org-mode$ git bisect good
Bisecting: 104 revisions left to test after this (roughly 7 steps)
[a0e3f1d5050ffd0d03c68b35b2b5300fb89da1f0] Merge branch 'maint'
0 ((a0e3f1d50...)|BISECTING) grfz@len:~/src/org-mode$ cd ~/src/org-mode; rm -rf 
* ; git co -f ; make autoloads > /dev/null 2> /dev/null; emacs-snapshot  --eval 
'(org-capture 4  "t")'
0 ((a0e3f1d50...)|BISECTING) grfz@len:~/src/org-mode$ git bisect good
Bisecting: 52 revisions left to test after this (roughly 6 steps)
[9bbee7d3c883efac7c738c6ef66b476d2696fc9a] Add some `:safe' keywords
0 ((9bbee7d3c...)|BISECTING) grfz@len:~/src/org-mode$ cd ~/src/org-mode; rm -rf 
* ; git co -f ; make autoloads > /dev/null 2> /dev/null; emacs-snapshot  --eval 
'(org-capture 4  "t")'
0 ((9bbee7d3c...)|BISECTING) grfz@len:~/src/org-mode$ git bisect bad
Bisecting: 25 revisions left to test after this (roughly 5 steps)
[f8849e92e58fefc9fbea72f650cef50a5607f305] org-archive: Add a test
0 ((f8849e92e...)|BISECTING) grfz@len:~/src/org-mode$ cd ~/src/org-mode; rm -rf 
* ; git co -f ; make autoloads > /dev/null 2> /dev/null; emacs-snapshot  --eval 
'(org-capture 4  "t")'
0 ((f8849e92e...)|BISECTING) grfz@len:~/src/org-mode$ git bisect bad
Bisecting: 12 revisions left to test after this (roughly 4 steps)
[d435c75f543cce08b578a399c531a28c37a48b39] Merge branch 'maint'
0 ((d435c75f5...)|BISECTING) grfz@len:~/src/org-mode$ cd ~/src/org-mode; rm -rf 
* ; git co -f ; make autoloads > /dev/null 2> /dev/null; emacs-snapshot  --eval 
'(org-capture 4  "t")'
0 ((d435c75f5...)|BISECTING) grfz@len:~/src/org-mode$ git bisect good
Bisecting: 6 revisions left to test after this (roughly 3 steps)
[6f89177ee6f7fb5f52f10a54ae10846c803366c5] Move `org-unlogged-message' to 
"org-macs.el"
0 ((6f89177ee...)|BISECTING) grfz@len:~/src/org-mode$ cd ~/src/org-mode; rm -rf 
* ; git co -f ; make autoloads > /dev/null 2> /dev/null; emacs-snapshot  --eval 
'(org-capture 4  "t")'
0 ((6f89177ee...)|BISECTING) grfz@len:~/src/org-mode$ git bisect bad
Bisecting: 2 revisions left to test after this (roughly 2 steps)
[3efb0007393624b555d1f1b4858e7523d8d4c4b1] org-tempo: Enable Tempo in all Org 

Re: [O] Bug: master: "Capture abort: (error Format specifier doesn’t match argument type)"

2018-04-03 Thread Gregor Zattler
Hi Nicolas,
* Nicolas Goaziou  [2018-04-03; 10:26]:
> Gregor Zattler  writes:
>> GNU Emacs 26.0.91 (build 2, x86_64-pc-linux-gnu, GTK+ Version
>> 3.22.11) of 2018-04-02
>> and 
>> Org mode version 9.1.9 (release_9.1.9-560-gf93aa7 @
>> /home/grfz/src/org-mode/lisp/)
>>
>>
>> I get
>>
>> "Capture abort: (error Format specifier doesn’t match argument
>> type)"
>>
>> after hitting the template key in order to capture something.
>
> I cannot reproduce it with default template. Do you use a special one?

Yes, sure.  Sorry, for my laziness.  None of my templates work any more
with git master.  This is a (for privacy reasons) shortend version of
my customizations, done with the customize system:

...
 '(org-capture-templates
   (quote
(("c" "Computer" entry
  (file+olp "~/org/grfz.org" "Computer")
  "* TODO %? %^{}G
  %I
  %^{wann fällig?}T
  %a:  notiert am/um: %U")
 ("e" "Emacs" entry
  (file+olp "~/org/grfz.org" "Computer" "Emacs")
  "* TODO %? %^{}G
  %I
  %^{wann fällig?}T
  %a:  notiert am/um: %U")
 ("o" "Emacs org-mode" entry
  (file+olp "~/org/grfz.org" "Computer" "Emacs" "org-mode")
  "* TODO %? %^{}G
  %I
  %^{wann fällig?}T
  %a:  notiert am/um: %U")
 ("d" "diary the org-mode way" entry
  (file+headline "~/org/diary.org" "aktuell")
  "*** %? %^g
%I
%^{wann fällig?}T
%a:  notiert am/um: %U")
 ("j" "Journal Entry" entry
  (file+olp+datetree "~/org/grfz.org")
  "* %? %^{}G
  %I
  %^{wann fällig?}T
  %a:  notiert am/um: %U")
 ("t" "Todo Entry" entry
  (file+olp "~/org/grfz.org" "Sonstiges")
  "* %? %^{}G
  %I
  %^{wann fällig?}T
  %a:  notiert am/um: %U"
...

Thanks for looking into this, Gregor





Re: [O] Bug: master: "Capture abort: (error Format specifier doesn’t match argument type)"

2018-04-03 Thread Nicolas Goaziou
Hello,

Gregor Zattler  writes:

> Hi org-mode developers,
>
> with
>
> GNU Emacs 26.0.91 (build 2, x86_64-pc-linux-gnu, GTK+ Version
> 3.22.11) of 2018-04-02
>
> and 
>
> Org mode version 9.1.9 (release_9.1.9-560-gf93aa7 @
> /home/grfz/src/org-mode/lisp/)
>
>
> I get
>
> "Capture abort: (error Format specifier doesn’t match argument
> type)"
>
> after hitting the template key in order to capture something.

I cannot reproduce it with default template. Do you use a special one?

Regards,

-- 
Nicolas Goaziou



[O] Bug: master: "Capture abort: (error Format specifier doesn’t match argument type)"

2018-04-02 Thread Gregor Zattler
Hi org-mode developers,

with

GNU Emacs 26.0.91 (build 2, x86_64-pc-linux-gnu, GTK+ Version
3.22.11) of 2018-04-02

and 

Org mode version 9.1.9 (release_9.1.9-560-gf93aa7 @
/home/grfz/src/org-mode/lisp/)


I get

"Capture abort: (error Format specifier doesn’t match argument
type)"

after hitting the template key in order to capture something.

This is not the case in

Org mode version 9.1.9 (release_9.1.9-3-gb1a639 @
/home/grfz/src/org-mode/lisp/)
from maint as of b1a6395dfeadd9adc5ce7633f341dfbbb30bd39e.


I tried to bisect this with
make autoloads ; emacs-snapshot -nw --debug-init --eval '(org-capture 4 "t")'
as a test, but did not find the culprit.

As a workaround I switched to main.

Thanks for your attention, Gregor