From unknown Mon Jun 23 13:15:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12135: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2 Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Aug 2012 09:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12135@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134407294115340 (code B ref -1); Sat, 04 Aug 2012 09:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Aug 2012 09:35:41 +0000 Received: from localhost ([127.0.0.1]:60670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sxalo-0003zM-8E for submit@debbugs.gnu.org; Sat, 04 Aug 2012 05:35:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38238) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sxali-0003zB-Rk for submit@debbugs.gnu.org; Sat, 04 Aug 2012 05:35:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxaeG-0001MN-8p for submit@debbugs.gnu.org; Sat, 04 Aug 2012 05:27:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:53646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxaeG-0001MJ-57 for submit@debbugs.gnu.org; Sat, 04 Aug 2012 05:27:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxaeE-0002rd-G4 for bug-gnu-emacs@gnu.org; Sat, 04 Aug 2012 05:27:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxaeB-0001M4-Li for bug-gnu-emacs@gnu.org; Sat, 04 Aug 2012 05:27:50 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:55072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxaeB-0001Lx-BD for bug-gnu-emacs@gnu.org; Sat, 04 Aug 2012 05:27:47 -0400 Received: by weys10 with SMTP id s10so1081783wey.0 for ; Sat, 04 Aug 2012 02:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=rjRJhMElMU9QzaM5K7NPFVa5xSJUj6qxP4bYr9X57Hw=; b=HeyF7VdA7/qyUDdsax/mJodUnAUToFrzs3JJIC8ocj+2WA3YTzuwiBMP16Gdzqi6Mj ymny1sUrrDhb9vqYYXmcV1X+iaTqOgkgUmLuUi5H1nQn9TGpXdzMtF8ugsK3Pl3qqJvw r5XnZcBNzpK1oW9TGh79IGQaKtOSlSimMCU44t8bOTkDig7dSOZO5Ia/Z9xlgwxWO8aT tyVdg04AWiaVowmO1DzuSs+0Yyn5MRD1jgTNG5n/t9M+v95c/zhB8cKOVBmTTEf7J3B9 Plx9UDJv7emN8yrBGeHqafr7uFwE/8geCNelgSjCef+BsZMdzOSW7ZxdHTuTzxJw5lmX GTaQ== Received: by 10.216.138.26 with SMTP id z26mr2131132wei.57.1344072466194; Sat, 04 Aug 2012 02:27:46 -0700 (PDT) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id j6sm3423962wiy.4.2012.08.04.02.27.44 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Aug 2012 02:27:45 -0700 (PDT) From: Thierry Volpiatto Date: Sat, 04 Aug 2012 11:27:36 +0200 Message-ID: <873943nh13.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) When switching from Emacs-24.1 to Emacs-24.2 byte compiled files containing `flet' are not compatible. You can reproduce with helm: https://github.com/emacs-helm/helm.git 1) Start in Emacs-24.2 (trunk) 2) get the latest version of helm git clone https://github.com/emacs-helm/helm.git 3) cd to helm directory 4) Run make 5) Run ./emacs-helm.sh 6) Hit C-x c M-x 7) Enter "helm" in pattern prompt. Ok good you have completion on all helm commands. Now quit Emacs-24.2 and switch to Emacs-24.1. Start from 5) and repeat 6) and 7) You have no completion on helm commands. Quit Emacs-24.1 and run make again to recompile helm files. Start again from 5) and repeat 6) and 7) Ok good you have completion on all helm commands. You can read the code of `helm-M-x' in helm-command.el. In GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-08-03 on thierry-MM061 Windowing system distributor `The X.Org Foundation', version 11.0.11103000 Configured using: `configure '--with-x-toolkit=lucid' '--with-wide-int' '--without-gconf' '--without-gsettings'' Important settings: value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: global-undo-tree-mode: t undo-tree-mode: t auto-image-file-mode: t show-paren-mode: t display-time-mode: t savehist-mode: t minibuffer-depth-indicate-mode: t eldoc-mode: t helm-mode: t helm-dired-mode: Enable helm completion in Dired functions. Bindings affected are C, R, S, H. This is deprecated for Emacs24+ users, use `helm-mode' instead. shell-dirtrack-mode: t helm-match-plugin-mode: t diff-auto-refine-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x h e l m C-g M-x r e p o r t - e m a c s Recent messages: Restoring buffers...92% OVERVIEW Restoring buffers...94% OVERVIEW Restoring buffers...95% OVERVIEW Restoring buffers...done Quit Load-path shadows: ~/.emacs.d/emacs-config-laptop/.gnus hides ~/.emacs.d/.gnus ~/elisp/emacs-wget/lpath hides ~/elisp/auctex/lpath ~/elisp/magit/.dir-locals hides /usr/local/share/emacs/24.1.50/lisp/gnus/.dir-locals ~/elisp/emms/lisp/tq hides /usr/local/share/emacs/24.1.50/lisp/emacs-lisp/tq Features: (shadow gnus-dired nnir mail-extr gnus-msg emacsbug helm-misc helm-command tabify org-table conf-mode vc-rcs sh-script smie executable vc-git xgit-dvc xgit xgit-annotate dvc-annotate xgit-log dvc-revlist jka-compr xhg-dvc bzr-core xdarcs-core xgit-core xmtn-minimal naquadah-theme em-unix em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-groups eshell esh-module esh-mode align-let server winner undo-tree diff slime-xref-browser slime-banner slime-tramp slime-asdf slime-fancy slime-fontifying-fu slime-package-fu slime-references slime-scratch slime-presentations slime-fuzzy slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-parse slime-repl image-file newsticker newst-treeview tree-widget newst-plainview newst-reader newst-ticker newst-backend xdvi-search preview-latex pcomplete-extension em-term term disp-table ehelp electric helm-ipython helm-elisp helm-eval python rx whitespace paren time avoid savehist smtpmail-async smtpmail sendmail helm-async markdown-mode org-google-weather google-weather url-cache iterator googlecl google-maps google-maps-static google-maps-geocode google-maps-base json simple-call-tree el-expectations el-mock csv2org iedit rect zop-to-char smallurl mm-url rectangle-utils tv-utils async pcvs pcvs-parse pcvs-info pcvs-defs mb-depth ioccur cl-info slime hyperspec slime-autoloads ledger-config ledger esh-arg esh-util tex-site auto-loads esh-toggle flymake eldoc-eval eldoc no-word regex-tool dired-extension emms-mpd-config emms-playlist-limit emms-volume emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-playing-time emms-lyrics emms-url hl-line emms-tag-editor emms-mark emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-playlist-mode emms-player-vlc emms-player-mplayer emms-info emms-streams later-do emms-source-playlist emms-source-file emms-player-simple emms-setup emms emms-compat dvc-init bzr-gnus tla-gnus xgit-gnus xhg-gnus gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader dvc-gnus tla-core tla-autoconf tla-defs dvc-log vc vc-dispatcher ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff dvc-autoloads magit-stgit magit-bisect magit-key-mode magit log-edit pcvs-util add-log htmlize-hack htmlize muse-colors muse-docbook muse-texinfo texnfo-upd texinfo muse-latex muse-html muse-xml-common muse-wiki cus-edit cus-start cus-load muse-publish muse-project muse-protocols muse-regexps wid-edit muse muse-nested-tags muse-mode muse-autoloads org-config-thierry ob-sh org-crypt cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs vc-hg org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-agenda appt diary-lib diary-loaddefs org-annotation-helper org-capture org-mks remember org-remember org-datetree addressbook-bookmark message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader firefox-protocol bookmark-firefox-handler bookmark-extensions org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete org-list org-faces org-compat org-entities org-macs noutline outline cal-menu calendar cal-loaddefs bookmark pp init-helm-thierry helm-mode helm-ls-git helm-files image-dired tramp tramp-compat tramp-loaddefs shell pcomplete format-spec dired-aux ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptative helm-info helm-net browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap helm-plugin helm-help helm-match-plugin helm-grep helm-regexp grep helm-external helm-utils compile comint ansi-color ring helm-descbinds helm-delicious xml helm-mercurial xhg xhg-annotate xhg-mq xhg-log xhg-core dvc-diff uniquify dvc-fileinfo dvc-unified dvc-tips diff-mode easy-mmode dvc-core dvc-lisp dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs ewoc dvc-defs dvc-site dired-x cl-macs gv dired helm-locate helm warnings advice help-fns advice-preload helm-config edmacro kmacro epa-file epa derived epg epg-config auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util time-date mm-util mail-prsvr password-cache usage-memo cl cl-lib macroexp info easymenu tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting x-toolkit x multi-tty emacs) -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From unknown Mon Jun 23 13:15:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12135: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2 Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Aug 2012 23:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Thierry Volpiatto Cc: 12135@debbugs.gnu.org Received: via spool by 12135-submit@debbugs.gnu.org id=B12135.134412193629610 (code B ref 12135); Sat, 04 Aug 2012 23:13:02 +0000 Received: (at 12135) by debbugs.gnu.org; 4 Aug 2012 23:12:16 +0000 Received: from localhost ([127.0.0.1]:34127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxnW3-0007hW-Gi for submit@debbugs.gnu.org; Sat, 04 Aug 2012 19:12:15 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:46753) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxnVy-0007hL-JL for 12135@debbugs.gnu.org; Sat, 04 Aug 2012 19:12:11 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q74N4NRg028897; Sat, 4 Aug 2012 19:04:24 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 5FB34AE2FA; Sat, 4 Aug 2012 19:04:23 -0400 (EDT) From: Stefan Monnier Message-ID: References: <873943nh13.fsf@gmail.com> Date: Sat, 04 Aug 2012 19:04:23 -0400 In-Reply-To: <873943nh13.fsf@gmail.com> (Thierry Volpiatto's message of "Sat, 04 Aug 2012 11:27:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4300=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4300> : streams <794567> : uri <1183927> X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > Now quit Emacs-24.2 and switch to Emacs-24.1. > Start from 5) and repeat 6) and 7) > You have no completion on helm commands. Ah, you mean that the flet byte-compiled with Emacs-24.2 won't run under Emacs-24.1. That's true. I have not tried to preserve such compatibility in my changes to CL. > Quit Emacs-24.1 and run make again to recompile helm files. > Start again from 5) and repeat 6) and 7) > Ok good you have completion on all helm commands. Yes, and these files should work correctly under Emacs-24.2 (at least I did try to preserve this compatibility). Stefan From unknown Mon Jun 23 13:15:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12135: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2 Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Aug 2012 05:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12135@debbugs.gnu.org Received: via spool by 12135-submit@debbugs.gnu.org id=B12135.13441441866469 (code B ref 12135); Sun, 05 Aug 2012 05:24:01 +0000 Received: (at 12135) by debbugs.gnu.org; 5 Aug 2012 05:23:06 +0000 Received: from localhost ([127.0.0.1]:34377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxtIv-0001gH-W6 for submit@debbugs.gnu.org; Sun, 05 Aug 2012 01:23:06 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:33539) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxtIs-0001fp-CS for 12135@debbugs.gnu.org; Sun, 05 Aug 2012 01:23:04 -0400 Received: by wgbdq10 with SMTP id dq10so1535164wgb.15 for <12135@debbugs.gnu.org>; Sat, 04 Aug 2012 22:15:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=PBdaNvdVWU232b92n0c9BqJqlyopXEdk/YZuuR3BQng=; b=GmNhEEDcLdFV+A9uTDK2LFWCeF4pcMeX6YIs3dJ+bFXGGtg2A+a3RaE4YUvQPImjGB NrmfhLSvgXNQuWT1/l0izVmBx0iO3/gWr552GDKvWa7DVMfpeijdy96tj9rTB3YFch8w uaTrNKpIPlqZtxd73teqv5l5vltNQfee+E+HUf0gYPIoBRhzLaVY6UKhN46jtBB3kVDl 7o9MDtBzhWBKHFTxHyaU3fdm/PFjIbQbNL3VCshrgczFRE3vDH2THaa4w429sLYSwgrn tVPqQwoOl9iDsdz0Egj5/HrLwKXDlvZL2LiJQbB/91sirQRjqAQpk9x6Sx1tcIXFzsok 1ARw== Received: by 10.180.74.33 with SMTP id q1mr8731833wiv.4.1344143716165; Sat, 04 Aug 2012 22:15:16 -0700 (PDT) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id t7sm11012374wix.6.2012.08.04.22.15.14 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Aug 2012 22:15:15 -0700 (PDT) From: Thierry Volpiatto References: <873943nh13.fsf@gmail.com> Date: Sun, 05 Aug 2012 07:15:12 +0200 In-Reply-To: (Stefan Monnier's message of "Sat, 04 Aug 2012 19:04:23 -0400") Message-ID: <871ujlgbrz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Stefan Monnier writes: >> Now quit Emacs-24.2 and switch to Emacs-24.1. >> Start from 5) and repeat 6) and 7) >> You have no completion on helm commands. > > Ah, you mean that the flet byte-compiled with Emacs-24.2 won't run under > Emacs-24.1. That's true. I have not tried to preserve such > compatibility in my changes to CL. > >> Quit Emacs-24.1 and run make again to recompile helm files. >> Start again from 5) and repeat 6) and 7) >> Ok good you have completion on all helm commands. > > Yes, and these files should work correctly under Emacs-24.2 (at least > I did try to preserve this compatibility). No, they don't either, try it. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From unknown Mon Jun 23 13:15:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12135: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2 Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Aug 2012 15:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Thierry Volpiatto Cc: 12135@debbugs.gnu.org Received: via spool by 12135-submit@debbugs.gnu.org id=B12135.13444387804030 (code B ref 12135); Wed, 08 Aug 2012 15:13:02 +0000 Received: (at 12135) by debbugs.gnu.org; 8 Aug 2012 15:13:00 +0000 Received: from localhost ([127.0.0.1]:42494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sz7wS-00012x-0y for submit@debbugs.gnu.org; Wed, 08 Aug 2012 11:13:00 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:19432) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sz7wQ-00012q-HI for 12135@debbugs.gnu.org; Wed, 08 Aug 2012 11:12:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09Ld/LR/2dsb2JhbABEsEiDSYEIghUBAQQBViMQCzQSFBgNJIgcBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="195276128" Received: from 75-119-242-209.dsl.teksavvy.com (HELO pastel.home) ([75.119.242.209]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Aug 2012 11:04:52 -0400 Received: by pastel.home (Postfix, from userid 20848) id 5A802599B1; Wed, 8 Aug 2012 11:04:52 -0400 (EDT) From: Stefan Monnier Message-ID: References: <873943nh13.fsf@gmail.com> <871ujlgbrz.fsf@gmail.com> Date: Wed, 08 Aug 2012 11:04:52 -0400 In-Reply-To: <871ujlgbrz.fsf@gmail.com> (Thierry Volpiatto's message of "Sun, 05 Aug 2012 07:15:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> Yes, and these files should work correctly under Emacs-24.2 (at least >> I did try to preserve this compatibility). > No, they don't either, try it. Indeed, I see that C-x c M-x doesn't work when compiled with Emacs-24.1 and run with the trunk. But since we don't get any error message, I'm not sure where to start looking for the cause. You pointed the finger at flet, so maybe you have some idea (or gut feeling)? I did see that compiling all files with Emacs-24.1 (or Emacs-23) and then recompiling helm-command.el with Emacs trunk makes the C-x c M-x test case work again under trunk, so the problem seems to be somewhere in helm-command.elc. Maybe there an error is signalled but is then silenced by one of the many ignore-errors? If so, would you have some idea as to which ignore-errors could be turned into with-demoted-errors to try and make an error message appear? Stefan From unknown Mon Jun 23 13:15:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12135: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2 Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Aug 2012 16:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12135@debbugs.gnu.org Received: via spool by 12135-submit@debbugs.gnu.org id=B12135.13444425999589 (code B ref 12135); Wed, 08 Aug 2012 16:17:01 +0000 Received: (at 12135) by debbugs.gnu.org; 8 Aug 2012 16:16:39 +0000 Received: from localhost ([127.0.0.1]:42614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sz8w2-0002Ua-SC for submit@debbugs.gnu.org; Wed, 08 Aug 2012 12:16:39 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:44110) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sz8w1-0002UT-7m for 12135@debbugs.gnu.org; Wed, 08 Aug 2012 12:16:38 -0400 Received: by wibhr14 with SMTP id hr14so3238459wib.15 for <12135@debbugs.gnu.org>; Wed, 08 Aug 2012 09:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=5yRU1GdqtKxVf9ZCGV4KXVFavbB71KiqscYHO0pMNnM=; b=bt/1SokJ6gbA7c7XntpGgtus9w1A9mT5t3W8Lh/z8MXSSpj0xKvV2uQ8qj/ZM+TcP+ JvoiOSnyRz9KNFq6tVNL83OdSWAG8N7RsPmpdEYsf8uTFSefXJXIMGqGQpn6PkKrCbSo XDXOeCZn9I2H96AtFfpquPYFlQFARBK6GuQ6jNBxmTQRgNj0vL3FVzYwyqe19wABe/PO BTf0hvO5YSGnZ9n7k3EzeY5HB3frrDr28Lyfcroe1NcLScRwlCeQ9GERuuF+OLOgDkC8 OY+AyQSjDAMJbDO4qGGIpDXKhgE41a/wCeLpXD+BMqSft92o1X5wmfZImlFTYKi75Rxa flXA== Received: by 10.180.100.131 with SMTP id ey3mr3862364wib.15.1344442111603; Wed, 08 Aug 2012 09:08:31 -0700 (PDT) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id ef5sm8612837wib.3.2012.08.08.09.08.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Aug 2012 09:08:30 -0700 (PDT) From: Thierry Volpiatto References: <873943nh13.fsf@gmail.com> <871ujlgbrz.fsf@gmail.com> Date: Wed, 08 Aug 2012 18:08:16 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 08 Aug 2012 11:04:52 -0400") Message-ID: <87ipctxt73.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Thanks to look into this. Stefan Monnier writes: >>> Yes, and these files should work correctly under Emacs-24.2 (at least >>> I did try to preserve this compatibility). >> No, they don't either, try it. > > Indeed, I see that C-x c M-x doesn't work when compiled with Emacs-24.1 > and run with the trunk. > But since we don't get any error message, I'm not sure where to start > looking for the cause. You pointed the finger at flet, so maybe you > have some idea (or gut feeling)? I think at flet because there is no reason that the other part of the code don't work. (but I may be wrong) Just try M-x instead of C-x c M-x, type helm- and you will have your completion. The only thing that differ is there is no help with C-z in M-x. > I did see that compiling all files with Emacs-24.1 (or Emacs-23) and > then recompiling helm-command.el with Emacs trunk makes the C-x c M-x > test case work again under trunk, so the problem seems to be somewhere > in helm-command.elc. > > Maybe there an error is signalled but is then silenced by one of the > many ignore-errors? If so, would you have some idea as to which > ignore-errors could be turned into with-demoted-errors to try and make > an error message appear? Hmm! No, AFAIK there is no ignore-errors involved here. > > Stefan -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From unknown Mon Jun 23 13:15:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12135: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2 Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Aug 2012 18:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12135@debbugs.gnu.org Received: via spool by 12135-submit@debbugs.gnu.org id=B12135.134445148622541 (code B ref 12135); Wed, 08 Aug 2012 18:45:02 +0000 Received: (at 12135) by debbugs.gnu.org; 8 Aug 2012 18:44:46 +0000 Received: from localhost ([127.0.0.1]:42810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SzBFN-0005rW-PR for submit@debbugs.gnu.org; Wed, 08 Aug 2012 14:44:46 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:45595) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SzBFL-0005rO-K6 for 12135@debbugs.gnu.org; Wed, 08 Aug 2012 14:44:44 -0400 Received: by wgbfm10 with SMTP id fm10so3504837wgb.3 for <12135@debbugs.gnu.org>; Wed, 08 Aug 2012 11:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=dmayOUT73Kznd9KrlE8Kp+mfQ696ZrVWZf06cwONJrU=; b=N5RzP67cF74J7VdiThdTHv+Nd2zvPCt1ahdfVoIo2R5qhcTiGuuz38ynXG4Ufud0wn ZKUNkZYTBps/4zDqNj9swO4j/6088VPUG2JirvA9+AjrOc92/mc8sY3kr86LeV+hi4th RdmoUzhutxknY+yDyb0UDD7mZxPMbdSC1pJx1WWBaQg142xYi0HFqz+EqsLdMEWc4v46 yvVr4sSS2PNUq4FcXWhkjjZQg3jZLqkinwbVbhHt7ZdVZCv8oGPoEgH9Nh7CJx0/6pd3 OFqg98S4yuxGAxdYvaHUcCkh4J3/e5Z4zwMk+0jMf5cueP1pjo+8IP9xv2iSxW5xUVtv VDlQ== Received: by 10.180.92.9 with SMTP id ci9mr4741450wib.22.1344450997296; Wed, 08 Aug 2012 11:36:37 -0700 (PDT) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id o2sm9566389wiz.11.2012.08.08.11.36.35 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Aug 2012 11:36:36 -0700 (PDT) From: Thierry Volpiatto References: <873943nh13.fsf@gmail.com> <871ujlgbrz.fsf@gmail.com> Date: Wed, 08 Aug 2012 20:36:33 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 08 Aug 2012 11:04:52 -0400") Message-ID: <87vcgtxmby.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Stefan Monnier writes: >>> Yes, and these files should work correctly under Emacs-24.2 (at least >>> I did try to preserve this compatibility). >> No, they don't either, try it. > > Indeed, I see that C-x c M-x doesn't work when compiled with Emacs-24.1 > and run with the trunk. > But since we don't get any error message, I'm not sure where to start > looking for the cause. You pointed the finger at flet, so maybe you > have some idea (or gut feeling)? Maybe you are right here Stefan and flet is not the culprit. I remove the flet from the function and the result is the same: I doesn't work without recompiling. But when trying this I fall to this error (that happened with files not recompiled): symbol definition is void tty-top-frame This error popup when using C-z in helm-find-files (to expand a directory). -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From unknown Mon Jun 23 13:15:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Thierry Volpiatto Subject: bug#12135: closed (Re: bug#12135: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2) Message-ID: References: <873943nh13.fsf@gmail.com> X-Gnu-PR-Message: they-closed 12135 X-Gnu-PR-Package: emacs Reply-To: 12135@debbugs.gnu.org Date: Wed, 08 Aug 2012 19:07:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1344452822-27943-1" This is a multi-part message in MIME format... ------------=_1344452822-27943-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12135: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12135@debbugs.gnu.org. --=20 12135: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12135 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1344452822-27943-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12135-done) by debbugs.gnu.org; 8 Aug 2012 19:06:04 +0000 Received: from localhost ([127.0.0.1]:42865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SzBa0-0007FZ-0c for submit@debbugs.gnu.org; Wed, 08 Aug 2012 15:06:04 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:55489) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SzBZv-0007F8-Nx for 12135-done@debbugs.gnu.org; Wed, 08 Aug 2012 15:06:02 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q78IvpqV023794; Wed, 8 Aug 2012 14:57:52 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id BD7E0B4081; Wed, 8 Aug 2012 14:57:51 -0400 (EDT) From: Stefan Monnier To: Thierry Volpiatto Subject: Re: bug#12135: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2 Message-ID: References: <873943nh13.fsf@gmail.com> <871ujlgbrz.fsf@gmail.com> <87ipctxt73.fsf@gmail.com> Date: Wed, 08 Aug 2012 14:57:51 -0400 In-Reply-To: <87ipctxt73.fsf@gmail.com> (Thierry Volpiatto's message of "Wed, 08 Aug 2012 18:08:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4304=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4304> : streams <796357> : uri <1187205> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 12135-done Cc: 12135-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > I think at flet because there is no reason that the other part of the > code don't work. (but I may be wrong) flet is used elsewhere. And eliminating the flet (see patch below, which doesn't look bad when compared to the horror generated by flet) did not solve the problem. > Hmm! No, AFAIK there is no ignore-errors involved here. Somehow an error must have been signaled and then silenced. I replaced all ignore-errors by with-demoted-errors but that didn't help, so it must be some condition-case somewhere (or some other code in some other Elisp library, of course). In any case, I think I found the culprit: the old CL's `loop' used cl-map-keymap-recursively internally for `key-seqs', which I renamed to cl--map-keymap-recursively but forgot to add a compatibility alias. Should be fixed now, thank you, Stefan === modified file 'helm-command.el' --- helm-command.el 2012-08-04 13:51:32 +0000 +++ helm-command.el 2012-08-08 18:27:09 +0000 @@ -116,7 +116,7 @@ when (commandp com) collect i into hist finally return hist)) command sym-com) - (flet ((pers-help (candidate) + (let ((pers-help (lambda (candidate) (let ((hbuf (get-buffer (help-buffer))) special-display-buffer-names special-display-regexps) @@ -136,14 +136,14 @@ (describe-function (intern candidate)) (message nil) ; Erase the new stupid message Type "q"[...] (setq in-help t)) - (setq help-cand candidate)))) + (setq help-cand candidate))))) (setq command (helm-comp-read "M-x " obarray :test 'commandp :requires-pattern helm-M-x-requires-pattern :name "Emacs Commands" :buffer "*helm M-x*" - :persistent-action 'pers-help + :persistent-action pers-help :persistent-help "Describe this command" :history history :del-input nil ------------=_1344452822-27943-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Aug 2012 09:35:41 +0000 Received: from localhost ([127.0.0.1]:60670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sxalo-0003zM-8E for submit@debbugs.gnu.org; Sat, 04 Aug 2012 05:35:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38238) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sxali-0003zB-Rk for submit@debbugs.gnu.org; Sat, 04 Aug 2012 05:35:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxaeG-0001MN-8p for submit@debbugs.gnu.org; Sat, 04 Aug 2012 05:27:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:53646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxaeG-0001MJ-57 for submit@debbugs.gnu.org; Sat, 04 Aug 2012 05:27:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxaeE-0002rd-G4 for bug-gnu-emacs@gnu.org; Sat, 04 Aug 2012 05:27:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxaeB-0001M4-Li for bug-gnu-emacs@gnu.org; Sat, 04 Aug 2012 05:27:50 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:55072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxaeB-0001Lx-BD for bug-gnu-emacs@gnu.org; Sat, 04 Aug 2012 05:27:47 -0400 Received: by weys10 with SMTP id s10so1081783wey.0 for ; Sat, 04 Aug 2012 02:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=rjRJhMElMU9QzaM5K7NPFVa5xSJUj6qxP4bYr9X57Hw=; b=HeyF7VdA7/qyUDdsax/mJodUnAUToFrzs3JJIC8ocj+2WA3YTzuwiBMP16Gdzqi6Mj ymny1sUrrDhb9vqYYXmcV1X+iaTqOgkgUmLuUi5H1nQn9TGpXdzMtF8ugsK3Pl3qqJvw r5XnZcBNzpK1oW9TGh79IGQaKtOSlSimMCU44t8bOTkDig7dSOZO5Ia/Z9xlgwxWO8aT tyVdg04AWiaVowmO1DzuSs+0Yyn5MRD1jgTNG5n/t9M+v95c/zhB8cKOVBmTTEf7J3B9 Plx9UDJv7emN8yrBGeHqafr7uFwE/8geCNelgSjCef+BsZMdzOSW7ZxdHTuTzxJw5lmX GTaQ== Received: by 10.216.138.26 with SMTP id z26mr2131132wei.57.1344072466194; Sat, 04 Aug 2012 02:27:46 -0700 (PDT) Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id j6sm3423962wiy.4.2012.08.04.02.27.44 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Aug 2012 02:27:45 -0700 (PDT) From: Thierry Volpiatto To: bug-gnu-emacs@gnu.org Subject: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2 Date: Sat, 04 Aug 2012 11:27:36 +0200 Message-ID: <873943nh13.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) When switching from Emacs-24.1 to Emacs-24.2 byte compiled files containing `flet' are not compatible. You can reproduce with helm: https://github.com/emacs-helm/helm.git 1) Start in Emacs-24.2 (trunk) 2) get the latest version of helm git clone https://github.com/emacs-helm/helm.git 3) cd to helm directory 4) Run make 5) Run ./emacs-helm.sh 6) Hit C-x c M-x 7) Enter "helm" in pattern prompt. Ok good you have completion on all helm commands. Now quit Emacs-24.2 and switch to Emacs-24.1. Start from 5) and repeat 6) and 7) You have no completion on helm commands. Quit Emacs-24.1 and run make again to recompile helm files. Start again from 5) and repeat 6) and 7) Ok good you have completion on all helm commands. You can read the code of `helm-M-x' in helm-command.el. In GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-08-03 on thierry-MM061 Windowing system distributor `The X.Org Foundation', version 11.0.11103000 Configured using: `configure '--with-x-toolkit=lucid' '--with-wide-int' '--without-gconf' '--without-gsettings'' Important settings: value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: global-undo-tree-mode: t undo-tree-mode: t auto-image-file-mode: t show-paren-mode: t display-time-mode: t savehist-mode: t minibuffer-depth-indicate-mode: t eldoc-mode: t helm-mode: t helm-dired-mode: Enable helm completion in Dired functions. Bindings affected are C, R, S, H. This is deprecated for Emacs24+ users, use `helm-mode' instead. shell-dirtrack-mode: t helm-match-plugin-mode: t diff-auto-refine-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x h e l m C-g M-x r e p o r t - e m a c s Recent messages: Restoring buffers...92% OVERVIEW Restoring buffers...94% OVERVIEW Restoring buffers...95% OVERVIEW Restoring buffers...done Quit Load-path shadows: ~/.emacs.d/emacs-config-laptop/.gnus hides ~/.emacs.d/.gnus ~/elisp/emacs-wget/lpath hides ~/elisp/auctex/lpath ~/elisp/magit/.dir-locals hides /usr/local/share/emacs/24.1.50/lisp/gnus/.dir-locals ~/elisp/emms/lisp/tq hides /usr/local/share/emacs/24.1.50/lisp/emacs-lisp/tq Features: (shadow gnus-dired nnir mail-extr gnus-msg emacsbug helm-misc helm-command tabify org-table conf-mode vc-rcs sh-script smie executable vc-git xgit-dvc xgit xgit-annotate dvc-annotate xgit-log dvc-revlist jka-compr xhg-dvc bzr-core xdarcs-core xgit-core xmtn-minimal naquadah-theme em-unix em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-groups eshell esh-module esh-mode align-let server winner undo-tree diff slime-xref-browser slime-banner slime-tramp slime-asdf slime-fancy slime-fontifying-fu slime-package-fu slime-references slime-scratch slime-presentations slime-fuzzy slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-parse slime-repl image-file newsticker newst-treeview tree-widget newst-plainview newst-reader newst-ticker newst-backend xdvi-search preview-latex pcomplete-extension em-term term disp-table ehelp electric helm-ipython helm-elisp helm-eval python rx whitespace paren time avoid savehist smtpmail-async smtpmail sendmail helm-async markdown-mode org-google-weather google-weather url-cache iterator googlecl google-maps google-maps-static google-maps-geocode google-maps-base json simple-call-tree el-expectations el-mock csv2org iedit rect zop-to-char smallurl mm-url rectangle-utils tv-utils async pcvs pcvs-parse pcvs-info pcvs-defs mb-depth ioccur cl-info slime hyperspec slime-autoloads ledger-config ledger esh-arg esh-util tex-site auto-loads esh-toggle flymake eldoc-eval eldoc no-word regex-tool dired-extension emms-mpd-config emms-playlist-limit emms-volume emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-playing-time emms-lyrics emms-url hl-line emms-tag-editor emms-mark emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-playlist-mode emms-player-vlc emms-player-mplayer emms-info emms-streams later-do emms-source-playlist emms-source-file emms-player-simple emms-setup emms emms-compat dvc-init bzr-gnus tla-gnus xgit-gnus xhg-gnus gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader dvc-gnus tla-core tla-autoconf tla-defs dvc-log vc vc-dispatcher ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff dvc-autoloads magit-stgit magit-bisect magit-key-mode magit log-edit pcvs-util add-log htmlize-hack htmlize muse-colors muse-docbook muse-texinfo texnfo-upd texinfo muse-latex muse-html muse-xml-common muse-wiki cus-edit cus-start cus-load muse-publish muse-project muse-protocols muse-regexps wid-edit muse muse-nested-tags muse-mode muse-autoloads org-config-thierry ob-sh org-crypt cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs vc-hg org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-agenda appt diary-lib diary-loaddefs org-annotation-helper org-capture org-mks remember org-remember org-datetree addressbook-bookmark message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader firefox-protocol bookmark-firefox-handler bookmark-extensions org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete org-list org-faces org-compat org-entities org-macs noutline outline cal-menu calendar cal-loaddefs bookmark pp init-helm-thierry helm-mode helm-ls-git helm-files image-dired tramp tramp-compat tramp-loaddefs shell pcomplete format-spec dired-aux ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptative helm-info helm-net browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap helm-plugin helm-help helm-match-plugin helm-grep helm-regexp grep helm-external helm-utils compile comint ansi-color ring helm-descbinds helm-delicious xml helm-mercurial xhg xhg-annotate xhg-mq xhg-log xhg-core dvc-diff uniquify dvc-fileinfo dvc-unified dvc-tips diff-mode easy-mmode dvc-core dvc-lisp dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs ewoc dvc-defs dvc-site dired-x cl-macs gv dired helm-locate helm warnings advice help-fns advice-preload helm-config edmacro kmacro epa-file epa derived epg epg-config auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util time-date mm-util mail-prsvr password-cache usage-memo cl cl-lib macroexp info easymenu tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting x-toolkit x multi-tty emacs) -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 ------------=_1344452822-27943-1-- From unknown Mon Jun 23 13:15:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12135: 24.1.50; compatibility between compiled files in emacs-24.1 and 24.2 In-Reply-To: <873943nh13.fsf@gmail.com> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Aug 2012 08:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12135@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134450226910471 (code B ref -1); Thu, 09 Aug 2012 08:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2012 08:51:09 +0000 Received: from localhost ([127.0.0.1]:43703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SzOSO-0002il-Rq for submit@debbugs.gnu.org; Thu, 09 Aug 2012 04:51:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40084) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SzOSE-0002iG-4s for submit@debbugs.gnu.org; Thu, 09 Aug 2012 04:50:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzOKK-0005SP-DO for submit@debbugs.gnu.org; Thu, 09 Aug 2012 04:42:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:42818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzOKK-0005SL-AD for submit@debbugs.gnu.org; Thu, 09 Aug 2012 04:42:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzOKG-00068s-2A for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 04:42:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzOKC-0005Rm-4S for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 04:42:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:50665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzOKB-0005RV-Tx for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 04:42:36 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SzOK8-0006Ge-FN for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 10:42:32 +0200 Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Aug 2012 10:42:32 +0200 Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Aug 2012 10:42:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: Thierry Volpiatto Date: Thu, 09 Aug 2012 10:42:23 +0200 Lines: 31 Message-ID: <877gt8e9sg.fsf@gmail.com> References: <873943nh13.fsf@gmail.com> <871ujlgbrz.fsf@gmail.com> <87vcgtxmby.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:e5Pr+NgH+J9ShUPmAVpCELgA5/8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Thierry Volpiatto writes: > Stefan Monnier writes: > >>>> Yes, and these files should work correctly under Emacs-24.2 (at least >>>> I did try to preserve this compatibility). >>> No, they don't either, try it. >> >> Indeed, I see that C-x c M-x doesn't work when compiled with Emacs-24.1 >> and run with the trunk. >> But since we don't get any error message, I'm not sure where to start >> looking for the cause. You pointed the finger at flet, so maybe you >> have some idea (or gut feeling)? > Maybe you are right here Stefan and flet is not the culprit. > I remove the flet from the function and the result is the same: > I doesn't work without recompiling. > But when trying this I fall to this error (that happened with files not > recompiled): > > symbol definition is void tty-top-frame If I look at the compiled file helm-files.el, tty-top-frame appear in byte-compiled form of all defalias in this file, which is not recognized by Emacs-24.1 when loading these files. > This error popup when using C-z in helm-find-files (to expand a > directory). -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997