From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#17446: 24.4.50; What is the situation around `called-interactively-p'? Date: Fri, 09 May 2014 14:29:45 +0200 Message-ID: <87tx8z6sp2.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1399638683 18413 80.91.229.3 (9 May 2014 12:31:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 May 2014 12:31:23 +0000 (UTC) To: 17446@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 09 14:31:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WijxL-000529-8N for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 May 2014 14:31:15 +0200 Original-Received: from localhost ([::1]:52288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WijxK-0001s5-Rz for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 May 2014 08:31:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WijxE-0001rw-3c for bug-gnu-emacs@gnu.org; Fri, 09 May 2014 08:31:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wijx9-0006VP-3u for bug-gnu-emacs@gnu.org; Fri, 09 May 2014 08:31:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wijx8-0006VI-Nh for bug-gnu-emacs@gnu.org; Fri, 09 May 2014 08:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wijx8-0006P9-18 for bug-gnu-emacs@gnu.org; Fri, 09 May 2014 08:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 May 2014 12:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139963864624597 (code B ref -1); Fri, 09 May 2014 12:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 May 2014 12:30:46 +0000 Original-Received: from localhost ([127.0.0.1]:56621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wijwr-0006Ob-Ee for submit@debbugs.gnu.org; Fri, 09 May 2014 08:30:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48299) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wijwn-0006OM-TZ for submit@debbugs.gnu.org; Fri, 09 May 2014 08:30:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WijwV-000634-T6 for submit@debbugs.gnu.org; Fri, 09 May 2014 08:30:36 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WijwV-00062u-OD for submit@debbugs.gnu.org; Fri, 09 May 2014 08:30:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WijwH-00014d-SR for bug-gnu-emacs@gnu.org; Fri, 09 May 2014 08:30:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WijwD-0005kn-1K for bug-gnu-emacs@gnu.org; Fri, 09 May 2014 08:30:09 -0400 Original-Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:36552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WijwC-0005h3-KL for bug-gnu-emacs@gnu.org; Fri, 09 May 2014 08:30:04 -0400 Original-Received: by mail-wg0-f48.google.com with SMTP id b13so3811681wgh.31 for ; Fri, 09 May 2014 05:30:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:from:to:subject:date:message-id:mime-version :content-type; bh=JZAnIi9QiA5qA1A9EsEu17HFq4Nw4IqPJspB+uLJicE=; b=v6IIN9SQRRp73NRcuzp9GILfWYHkNhEeFZbI6PzZCFr/9cpiwH+PUAbnfc+6q8eHUO tkCHyVfXghliBZ6NfDqfC4/pXUTLzSTkp+rRBZK8v1jY1njkHGa6KL665BtgliJ4PE/f PqI9BfEdMQMp9gppZq6A86k6U9bgT3GFfmETgw8fZu2TIZBSeJgFuIFke+cfqL98inrk HSvI44NwgX+xX2NixoF4A+ly6vne6SWDFCE8mL9RFlC0ZV+nkYejD1I255Lr3yjdiRXw +UuBsScyAUwzkTbCqjyKw71fDR2AK3xdd6w4tPKNOoSY+1eqgsKKxh17h7Akw3djWPlY +QqA== X-Received: by 10.180.83.196 with SMTP id s4mr3223252wiy.24.1399638603367; Fri, 09 May 2014 05:30:03 -0700 (PDT) Original-Received: from dell-14z ([37.163.134.241]) by mx.google.com with ESMTPSA id rx9sm5307294wjb.20.2014.05.09.05.29.56 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 09 May 2014 05:30:01 -0700 (PDT) User-agent: mu4e 0.9.9.6pre3; emacs 24.4.50.1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88815 Archived-At: Hi, I recently had to use `called-interactively-p-functions' to fix a command similar to `repeat-complex-command'. I used similar hack than the one found in `repeat-complex-command', but as mentionned in `called-interactively-p' this is not working with code compiled (I use lexical-binding), thus `dont-compile' have been made obsolete. So what to do actually to fix such issues ? Do you plan to make something better around the terrible `called-interactively-p' ? What about a special var to force `called-interactively-p' to return true when it find this var (Actually this is crashing emacs) ? It seems the only reason `dont-compile' have been made obsolete is to force people fixing their code to make it working compiled; That's ok, but what to do when nothing else is possible ? IOW why is this obsolete ? Ref: https://github.com/emacs-helm/helm/issues/489 Thanks. In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2014-05-04 on dell-14z Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04 LTS Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t git-gutter-mode: t psession-mode: t golden-ratio-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t semantic-idle-scheduler-mode: t semantic-mode: t winner-mode: t global-undo-tree-mode: t undo-tree-mode: t auto-image-file-mode: t eldoc-in-minibuffer-mode: t show-paren-mode: t display-time-mode: t recentf-mode: t savehist-mode: t eldoc-mode: t minibuffer-depth-indicate-mode: t helm-mode: t helm-descbinds-mode: t shell-dirtrack-mode: t helm-adaptative-mode: t helm-match-plugin-mode: t helm-occur-match-plugin-mode: t tooltip-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: C-x C-b e l i s C-x C-d C-e b v m m C-c C-c q P P q C-M-SPC M-w C-x C-f e m a l s p C-u C-s M-n C-x C-f C-g M-> C-c SPC M-x r e p o r t Recent messages: Parsing helm-elisp.el (LL)...done Parsing helm.el (LL)...done Type a prefix key to toggle it. Run 'actions' with their prefixes. '?' for more help. Type C-c C-c to commit (C-c C-k to cancel). Parsing helm.el (LL)...done git finished. Type a prefix key to toggle it. Run 'actions' with their prefixes. '?' for more help. Running git push -v origin complex-command-history:refs/heads/complex-command-history git finished. Mark set [2 times] Load-path shadows: ~/elisp/auctex/lpath hides ~/elisp/emacs-wget/lpath /usr/local/share/emacs/24.4.50/lisp/emacs-lisp/tq hides ~/elisp/emms/lisp/tq Features: (shadow epa-mail mule-util emacsbug helm-command helm-ring semantic/tag-write magit-cherry magit-bisect magit-log-edit log-edit add-log magit-key-mode magit magit-version view ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff diff-mode magit-compat semantic/decorate/mode semantic/decorate pulse nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok semantic/wisent/javascript-jv semantic/wisent/js-wy semantic/wisent semantic/wisent/wisent semantic/java semantic/doc js json moz imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-rcs conf-mode sh-script smie executable vc-git semantic/db-find 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 semantic/db-ref semantic/db-file data-debug cedet-files align-let git-gutter server psession golden-ratio semantic/bovine/el semantic/db-el eieio-opt help-mode semantic/bovine semantic/db-mode semantic/db eieio-base semantic/idle semantic/format semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet winner undo-tree diff image-file newsticker newst-treeview newst-plainview newst-reader newst-ticker newst-backend xdvi-search preview-latex tex-site auto-loads pcomplete-extension em-term term disp-table ehelp helm-ipython helm-elisp helm-eval python eldoc-eval warnings whitespace paren time avoid recentf tree-widget savehist mu4e-config org-mu4e helm-mu mu4e-contrib mu4e mu4e-speedbar speedbar sb-image ezimage dframe mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-draft mu4e-actions ido rfc2368 mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils mu4e-lists mu4e-about mu4e-vars mu4e-meta gnus-dired nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc parse-time gnus-spec gnus-int gnus-range gnus-win nnoo config-w3m w3m-search w3m timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util w3m-load smtpmail-async smtpmail sendmail dired-async iterator simple-call-tree iedit-rect iedit iedit-lib smallurl mm-url gnus gnus-ems nnheader wid-edit rectangle-utils rect ledger-config ledger esh-var esh-io esh-cmd esh-opt esh-ext esh-proc eldoc esh-groups eshell esh-module esh-mode esh-arg esh-util tv-utils async pcvs vc-cvs pcvs-parse pcvs-info pcvs-defs pcvs-util ewoc mb-depth cl-info slime-autoloads esh-toggle flymake no-word htmlize cl 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 org-config-thierry ob-sh org-crypt cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs appt diary-lib diary-loaddefs org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m org-agenda org-annotation-helper 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 org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs init-helm-thierry helm-mode helm-dictionary helm-ls-git helm-descbinds helm-ls-hg helm-files image-dired tramp tramp-compat tramp-loaddefs trampver shell pcomplete format-spec dired-x dired-aux ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptative helm-info helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap helm-plugin bookmark pp helm-help helm-match-plugin helm-grep wgrep-helm wgrep helm-regexp grep helm-external helm-utils dired compile comint ansi-color ring helm-locate helm vc vc-dispatcher helm-config helm-aliases epa-file epa derived epg epg-config auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util time-date mm-util mail-prsvr password-cache package info easymenu cl-macs gv edmacro kmacro advice help-fns net-utils cl-loaddefs cl-lib tooltip electric uniquify 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 prog-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 nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 638475 69033) (symbols 48 61289 0) (miscs 40 18406 905) (strings 32 169566 15566) (string-bytes 1 5184981) (vectors 16 59750) (vector-slots 8 972179 36494) (floats 8 2237 544) (intervals 56 3036 23) (buffers 960 108) (heap 1024 62643 2998)) -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997