Wilfred / suggest.el

discover elisp functions that do what you want
367 stars 14 forks source link

number-sequence is no longer suggested #30

Closed Wilfred closed 6 years ago

Wilfred commented 7 years ago

We should see this:

;; Inputs (one per line):
4

;; Desired output:
'(1 2 3 4)

;; Suggestions:
(number-sequence 1 4) ;=> '(1 2 3 4)

but we are not getting that suggestion. I suspect number-sequence is so far down in the list that we hit the intermediate value cap too early.

Wilfred commented 7 years ago

By contrast, this works:

;; Inputs (one per line):
1
3

;; Desired output:
'(1 2 3)

;; Suggestions:
(number-sequence 1 3) ;=> '(1 2 3)