emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#26457: closed (25.2; Cannot pass a function to ime


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#26457: closed (25.2; Cannot pass a function to imenu-generic-expression)
Date: Thu, 13 Apr 2017 09:48:02 +0000

Your message dated Thu, 13 Apr 2017 11:47:43 +0200
with message-id <address@hidden>
and subject line [Nicolas Petton] Re: bug#26457: 25.2; Cannot pass a function 
to imenu-generic-expression
has caused the debbugs.gnu.org bug report #26457,
regarding 25.2; Cannot pass a function to imenu-generic-expression
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
26457: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26457
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.2; Cannot pass a function to imenu-generic-expression Date: Wed, 12 Apr 2017 06:43:49 +0200

$ emacs -Q

M-:
(setq-local imenu-generic-expression `(("Foo" "^;; .*$" 0 ,(lambda (item pos) (message "%s" item)))))

M-x imenu

This results in

sort: Wrong type argument: number-or-marker-p, (#<marker at 72 in *scratch*> (lambda (item pos) (message "%s" item)))

In GNU Emacs 25.2.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.9) of 2017-03-09 built on x230
Repository revision: aceac954ed29c2653e2a0eb71b899be5c916edda
Windowing system distributor 'Fedora Project', version 11.0.11903000
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
 value of $LANG: fr_FR.UTF-8
 value of $XMODIFIERS: @im=ibus
 locale-coding-system: utf-8-unix

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill



--- End Message ---
--- Begin Message --- Subject: [Nicolas Petton] Re: bug#26457: 25.2; Cannot pass a function to imenu-generic-expression Date: Thu, 13 Apr 2017 11:47:43 +0200
--- Begin Message --- Subject: Re: bug#26457: 25.2; Cannot pass a function to imenu-generic-expression Date: Thu, 13 Apr 2017 11:45:12 +0200
Damien Cassou <address@hidden> writes:

> done

Thanks, I just applied the patch on master.

Cheers,
Nico

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]