Bug#747664: julia--get-object breaks because of mapcan

Martin Maechler maechler at stat.math.ethz.ch
Mon May 12 23:12:41 CEST 2014


Thank you Dirk et al.

Hmm, I had added

(eval-when-compile
  (require 'cl)); in Emacs <= 23.x for (mapcan .)

------------------------------------------------------------------------
r5951 | maechler | 2013-12-30 09:27:03 +0100 (Mon, 30 Dec 2013) | 2 lines

need 'cl  at least in emacs 23.4
------------------------------------------------------------------------
(too late for 13.09-x)
already.

Unfortunately,  [TAB] completion has been completely broken in
*julia* buffers for me, so I now can no longer test if the
(eval-when-compile ....)  is sufficient.

A simple  (require 'cl)  gives a warning during compilation :

ess-julia.el:42:1:Warning: cl package required at runtime

and that's why I (assume I) used the  (eval-when-compile ...) clause.

ESS corers: Any idea why  [TAB] completion fails in  *julia*,
e.g. after

xyz = 1:10

xy[TAB]

nothing happens, but a message   "no completion on ."

Martin


On Mon, May 12, 2014 at 2:43 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> Hi ESSers,
>
> Could you please have a look at this which was filed at my end, but is of
> course an upstream issue?
>
> Thanks,  Dirk
>
> On 10 May 2014 at 22:36, Juliusz Chroboczek wrote:
> | Package: ess
> | Version: 13.09-1-1
> |
> | Typing TAB in an iESS buffer in Julia mode sometimes breaks because
> | mapcan is not defined.  A simple workaround is to (load 'cl), but it
> | would perhaps be better to use nconc(mapcar) instead.
> |
> | I am running emacs24 24.3+1-3.
> |
> | Here's a backtrace:
> |
> | Debugger entered--Lisp error: (void-function mapcan)
> |   mapcan(#[(mod) "\303 \304\232\203   julia--get-objects(#<process julia> nil)
> |   julia-object-completion()
> |   completion--capf-wrapper(julia-object-completion all)
> |   run-hook-wrapped(completion--capf-wrapper julia-object-completion all)
> |   completion-at-point()
> |   call-interactively(completion-at-point nil nil)
> |
> | _______________________________________________
> | ESS-Debian mailing list
> | ESS-Debian at r-project.org
> | https://stat.ethz.ch/mailman/listinfo/ess-debian
>
> --
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
>
> _______________________________________________
> ESS-Debian mailing list
> ESS-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/ess-debian
>



More information about the ESS-Debian mailing list