Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-04 Thread Stefan-W. Hahn
Mail von Nicolas Goaziou, Sun, 04 Jun 2017 at 11:35:34 +0200: Hello, > "Stefan-W. Hahn" writes: > > > What I don't understand is, if I expand the pcase with (macrostep-expand) I > > get the following: > > > > , > > | (let (res) > > | (dolist (pair

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-04 Thread Nicolas Goaziou
"Stefan-W. Hahn" writes: > What I don't understand is, if I expand the pcase with (macrostep-expand) I > get the following: > > , > | (let (res) > | (dolist (pair (buffer-local-variables)) > | (if > | (consp pair) > | (let* > |

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-04 Thread Stefan-W. Hahn
Mail von Nicolas Goaziou, Sun, 04 Jun 2017 at 10:24:57 +0200: Hello, > "Stefan-W. Hahn" writes: > > > I looked at it, but sorry, I think this also is not right, it expands to: > > > > Both looking wrong for me. Sorry. > > What do you think is wrong? > > In particular >

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-04 Thread Nicolas Goaziou
"Stefan-W. Hahn" writes: > I looked at it, but sorry, I think this also is not right, it expands to: > > , > | (defun org-agenda-mode () > | ... > |(mapc #'make-local-variable org-agenda-local-vars) > |(dolist (elem save) > | (if > |

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-04 Thread Stefan-W. Hahn
Mail von Nicolas Goaziou, Sun, 04 Jun 2017 at 09:19:09 +0200: Good morning again, > Hello, > > "Stefan-W. Hahn" writes: > > > For me both cases don't look correct or do I missinterpret something? > > No, you're right. I fixed it. Thank you. I looked at it, but sorry,

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-04 Thread Nicolas Goaziou
Hello, "Stefan-W. Hahn" writes: > For me both cases don't look correct or do I missinterpret something? No, you're right. I fixed it. Thank you. Regards, -- Nicolas Goaziou

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-04 Thread Stefan-W. Hahn
Mail von Nicolas Goaziou, Sat, 03 Jun 2017 at 22:46:01 +0200: Good morning, > > > > This error comes from org-clone-local-variables, because there the > > prediction for local variables is always to be a list. > > Fixed. Thank you for the report and the analysis. Thanks. Because for me pcase

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-03 Thread Nicolas Goaziou
Hello, "Stefan-W. Hahn" writes: > I use a minor mode (moccur-edit-mode, seems a little bit old) which > initializes one variable in this way: > > , > | (defvar moccur-edit-old-content) > | (make-local-variable 'moccur-edit-old-content) > ` > > This leads to

[O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-03 Thread Stefan-W. Hahn
Good day, Emacs : GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2017-05-20 Package: Org mode version 9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/) I use a minor mode (moccur-edit-mode, seems a little bit old) which initializes one variable