From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Need help with magit site-lisp Date: Tue, 8 Oct 2013 16:01:32 +0200 Message-ID: <20131008140132.GG2006@kuru.dyndns-at-home.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1381240915 2795 80.91.229.3 (8 Oct 2013 14:01:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Oct 2013 14:01:55 +0000 (UTC) To: Emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 08 16:01:59 2013 Return-path: Envelope-to: geh-help-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 1VTXrJ-0005U9-54 for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Oct 2013 16:01:57 +0200 Original-Received: from localhost ([::1]:37163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTXrI-0005tQ-4j for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Oct 2013 10:01:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTXr4-0005tA-KZ for help-gnu-emacs@gnu.org; Tue, 08 Oct 2013 10:01:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTXqz-0005gr-TQ for help-gnu-emacs@gnu.org; Tue, 08 Oct 2013 10:01:42 -0400 Original-Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:35707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTXqz-0005ge-Ly for help-gnu-emacs@gnu.org; Tue, 08 Oct 2013 10:01:37 -0400 Original-Received: by mail-ea0-f178.google.com with SMTP id a15so3986410eae.23 for ; Tue, 08 Oct 2013 07:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; bh=H4UyXYpPEIJaapizTUSK84DHdw0B/BiE2tXFL8ZAeBk=; b=ebFwy/2AUd1vWqzroNqwGEvxTA1GYoX5eRTxPKgr5veCvp6KBL6nLZUpVcGLb4o0tB e4GD1ZfTBl7DFFJDWGsIWjClmIghl/jZ0VcqYfjuQrC0U7EkWVLIfKZqPT/g2mBFc8Gr F1j4NxtoxTOGtRq6uoIi7/KTQDnPyZKkw3+yg71RTX7pZrsK2E7y30YIglzkaz8u8Ptt p4MuHCEqCEljwQmpqrG+0PmcnlcCFQLSqRlIYqQXJRpxBU6bP1YFViWFqhvXC/TGsk+g K3g4/dtfcwbGDNprUsZsbx1/huOciQgT/Ckb8UR42D8rTerMJO7nVvnU5KHkY7ag+SD8 Lacw== X-Received: by 10.14.108.9 with SMTP id p9mr2782379eeg.8.1381240896172; Tue, 08 Oct 2013 07:01:36 -0700 (PDT) Original-Received: from kuru.dyndns-at-home.com ([2001:610:120:3001:f2de:f1ff:fe37:c76c]) by mx.google.com with ESMTPSA id d8sm76291230eeh.8.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 08 Oct 2013 07:01:35 -0700 (PDT) Content-Disposition: inline User-Agent: Mutt/1.5.21 (2012-12-30) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93882 Archived-At: Hi, I'm on Fedora. But I compile my own Emacs and install in /opt/. To use some popular extra packages, I use symlinks in the site-lisp in /opt/ to the system-wide site-lisp directories. This works very nicely for all packages except for magit (this setup had no issues for many years, until now). I was wondering if someone could help me debug the issue. My setup: - Self-compiled Emacs in /opt/emacs-lisp. - Corresponding site-lisp folder looks like this: $ lt -d magit site-start.d lrwxrwxrwx. 1 jallad jallad 32 Apr 5 2011 magit -> /usr/share/emacs/sit= e-lisp/magit lrwxrwxrwx. 1 jallad jallad 40 Oct 8 15:55 site-start.d -> /usr/share/em= acs/site-lisp/site-start.d/ When I start the system-wide Emacs, I can use magit just fine. But when I call magit from my self-compiled Emacs, I get the following backtrace: Debugger entered--Lisp error: (wrong-type-argument listp 769) magit-max-args-internal(delete-directory) byte-code("\300\301!\203=0E=00\302\303\301\"\210\202=13=00\302\303\304\"\= 210\305\306!\204=1E=00\302\306\307\"\210\305\310!\203,=00\302\311\310\"\210= \2021=00\302\311\312\"\210\313\314!\315Y\203A=00\302\316\314\"\210\202F=00\= 302\316\317\"\210\300\207" [functionp start-file-process defalias magit-sta= rt-process start-process fboundp string-match-p #[(regexp string &optional = start) "\304=18\305 \n=0B#)\207" [inhibit-changing-match-data regexp string= start t string-match] 4 "Same as `string-match' except this function does = not\nchange the match data."] with-silent-modifications magit-with-silent-m= odifications (macro . #[(&rest body) "\301\302\303\304\305=08BBED\207" [bod= y set-buffer-modified-p prog1 (buffer-modified-p) let ((buffer-undo-list t)= before-change-functions after-change-functions)] 6 "Execute body without c= hanging `buffer-modified-p'. Also, do not\nrecord undo information."]) magi= t-max-args-internal delete-directory 2 magit-delete-directory #[(directory = &optional recursive) "\304=08!\204\f=00\305=08!\204=10=00\306=08!\207 \2030= =00\307=08\310\311#\312=1A\211=1B\203/=00=0B@=12\313\n \"\210=0BA\211=13\20= 4 =00*\314=08!\207" [directory recursive file --cl-dolist-temp-- file-symli= nk-p file-directory-p delete-file directory-files full "\\([^.]\\|\\.\\([^.= ]\\|\\..\\)\\).*" nil magit-delete-directory delete-directory] 5 "Deletes a= directory named DIRECTORY. If RECURSIVE is non-nil,\nrecursively delete a= ll of DIRECTORY's contents as well.\n\nDoes not follow symlinks."]] 3) autoload-do-load((autoload "magit" "Open a Magit status buffer for the Gi= t repository containing\nDIR. If DIR is not within a Git repository, offer= to create a\nGit repository in DIR.\n\nInteractively, a prefix argument me= ans to ask the user which Git\nrepository to use even if `default-directory= ' is under Git control.\nTwo prefix arguments means to ignore `magit-repo-d= irs' when asking for\nuser input.\n\n(fn DIR)" t nil) magit-status) command-execute(magit-status record) execute-extended-command(nil "magit-status") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) I don't understand the backtrace. Can someone help me? Thanks, --=20 Suvayu Open source is the future. It sets us free.