I'm using both 22.2(in terminal) and 23.0 in Emacs.app on my MacBook Pro,
both installed by MacPorts.
There is no critical problem, almost everything are smoothly running, except the
vc mode. It runs perfectly in 22.2 in terminal, but never really work in Emacs.app.
When I open some file which IS under source control (svn or git), it says
'Load vc-git...done' or something like that (no errors), but the mode actually
not activated. It's really annoying.
Any suggestions? Or just some similar situation that have been mentioned here before?
Thanks.
Some system info below.
In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, *Step 9.0rc3)
of 2008-10-05 on oasis
configured using `configure '--with-ns' '--without-x' '--prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_emacs-app/work/emacs-23.0.0_NS-9.0rc3/nextstep/build/Emacs.app/Contents/Resources' '--exec_prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_emacs-app/work/emacs-23.0.0_NS-9.0rc3/nextstep/build/Emacs.app/Contents/MacOS' '--libexecdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_emacs-app/work/emacs-23.0.0_NS-9.0rc3/nextstep/build/Emacs.app/Contents/MacOS/libexec' '--with-pop' '--enable-font-backend' '--without-freetype' 'CC=gcc-4.0' 'CFLAGS=-g -O3 -arch ppc -arch i386' 'CPPFLAGS=' 'CPP=' 'LDFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
ecb-minor-mode: t
tooltip-mode: t
show-paren-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
unify-8859-on-decoding-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<help-echo> <menu-bar> <help-menu> <report-emacs-bug>
Recent messages:
Loading /Users/neo/.emacs.d/cedet/common/cedet.el (source)...done
ECB 2.33beta2 uses loaded semantic 2.0pre4, eieio 1.0 and speedbar 1.0.1.
Loading /Users/neo/.emacs.d/yaml-mode.el (source)...done
Loading /Users/neo/.emacs.d/nxml-mode/rng-auto.el (source)...done
Loading /Users/neo/.emacs.d/find-recursive.el (source)...done
Loading /Users/neo/.emacs.d/snippet.el (source)...done
Loading /Users/neo/.ecb-user-layouts.el (source)...done
The ECB is now activated.
There are no NEWS to display.
For information about GNU Emacs and the GNU system, type C-h C-a.
>...
> Recent messages:
>
> Loading /Users/neo/.emacs.d/cedet/common/cedet.el (source)...done
>
> ECB 2.33beta2 uses loaded semantic 2.0pre4, eieio 1.0 and speedbar 1.0.1.
>
> Loading /Users/neo/.emacs.d/yaml-mode.el (source)...done
>
> Loading /Users/neo/.emacs.d/nxml-mode/rng-auto.el (source)...done
>
> Loading /Users/neo/.emacs.d/find-recursive.el (source)...done
>
> Loading /Users/neo/.emacs.d/snippet.el (source)...done
>
> Loading /Users/neo/.ecb-user-layouts.el (source)...done
>
> The ECB is now activated.
Have you read the node in the Emacs manual about bug reporting?
In particular what happens if you don't load your .emacs, i.e., start Emacs
with "-q"?
--
Nick http://www.inet.net.nz/~nickrob
Neo Lee writes:
> Hi Nick,
>
> Thanks for your response.
>
> On Tue, Oct 14, 2008 at 3:48 PM, Nick Roberts <nic...@snap.net.nz> wrote:
>
> >
> > Have you read the node in the Emacs manual about bug reporting?
> >
> > In particular what happens if you don't load your .emacs, i.e., start Emacs
> > with "-q"?
> >
>
> Sure I have. At very first time I noticed that issue I tried to remove my
> .emacs, started a clean Emacs.app instance, and meet exactly the same
> situation that I described in my last email. If any possibility of other
> mods causing this issue, I would not ask here :) For your convenience I
> attached the standard debug info on this fresh environment at the end of
> this email.
We use this information to analyse the bug. If it tells us that CEDET and
ECB have been loaded then we presume that may be a factor.
> Since everything is OK in my emacs 22.2, I guess that it has something to do
> with either emacs 23 or Emacs.app. If somebody has similar issue on emacs
> 23, it will be some bug in the beta code. If not (people using Emacs.app are
> not as many as the ones using emacs 23), maybe there's some trick in
> Emacs.app (the Mac OS X Cocoa port), e.g. some path configuration hacking?
vc-mode works for me on Mac OS X for SVN. However, I've not used MacPorts
but checked the code out from the repository at Savannah and just built with
"configure --with-ns".
--
Nick http://www.inet.net.nz/~nickrob
"Neo Lee" wrote:
> In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, *Step 9.0rc3)
This seems to be the last stand-alone release of Emacs.app, rather
than the newest version, which would come from the Emacs CVS trunk.
The fact that Nick cannot reproduce this indicates it may not be
present in the CVS trunk.
Just done such steps:
1. Remove all correlated ports from MacPorts (emacs, emacs-app, etc.)
2. Fetch newest Emacs source from cvs.savannah.gnu.org. ("cvs -z3 -
d:pserver:anon...@cvs.savannah.gnu.org:/sources/emacs co" Is this
command checking out the trunk branch of newest source?)
3. Build it with default configuration and install the X edition of
Emacs with no errors, ECB brings some issue on customization, but
others runs like a charm, esp. the vc-mode.
4. After 'make distclean', build with --with-ns and install a
Emacs.app, still no errors. But it's a pity that it has the same issue
we talked about (even using -q parameter to start a clean
environment).
I'll let it be for a while :S
> 1. Remove all correlated ports from MacPorts (emacs, emacs-app, etc.)
> 2. Fetch newest Emacs source from cvs.savannah.gnu.org. ("cvs -z3 -
> d:pserver:anon...@cvs.savannah.gnu.org:/sources/emacs co" Is this
> command checking out the trunk branch of newest source?)
> 3. Build it with default configuration and install the X edition of
> Emacs with no errors, ECB brings some issue on customization, but
> others runs like a charm, esp. the vc-mode.
> 4. After 'make distclean', build with --with-ns and install a
> Emacs.app, still no errors. But it's a pity that it has the same issue
> we talked about (even using -q parameter to start a clean
> environment).
What is the actual bug?
it says
'Load vc-git...done' or something like that (no errors), but the mode
actually not activated.
I don't understand what this means.
What is the actual bug?I don't understand what this means.
it says
'Load vc-git...done' or something like that (no errors), but the mode
actually not activated.
Load vc-git... done.
No fileset is available here.
> But the mode actually not working. If I try to use any of the vc-* commands
> after that, the message in mini-buffer will be:
>
> No fileset is available here.
>
> Other vc-mode functions are also missing, e.g. the revision displayed on the
> bar.
It is surprising that a change in configure options could affect such
a thing.
What happens if you start with `emacs -Q', and open the README file
from the directory where you checked out the CVS trunk?
If you repeat the experiment, but do M-x toggle-debug-on-error before
opening README, do you get any backtrace?
What does
M-: (executable-find "cvs")
return?
What does
M-: (vc-cvs-registered "/path/to/emacs/cvs/README")
return?
What does
M-x list-load-path-shadows
say?
It is surprising that a change in configure options could affect such
a thing.
What happens if you start with `emacs -Q', and open the README file
from the directory where you checked out the CVS trunk?
If you repeat the experiment, but do M-x toggle-debug-on-error before
opening README, do you get any backtrace?
What does
M-: (executable-find "cvs")
return?
What does
M-: (vc-cvs-registered "/path/to/emacs/cvs/README")
return?
What does
M-x list-load-path-shadows
say?
% /Applications/Emacs.app/Contents/MacOS/Emacs
M-: (executable-find "svn") says:
"/usr/bin/svn"
$ whereis svn
/usr/bin/svn
$ which svn
/opt/local/bin/svn
$ /usr/bin/svn --version
svn, version 1.4.4 (r25188) compiled Sep 23 2007, 22:32:34
$ svn --version
svn, version 1.5.3 (r33570) compiled Oct 11 2008, 10:20:01
M-: (vc-svn-registered "~/Ruby19/src/load.c") says:
nil
M-x list-load-path-shadows says (in mini buffer):
Checking 1 files in /Applications/Emacs.app/Contents/Resources/site-lisp...
Checking 587 files in /Applications/Emacs.app/Contents/Resources/lisp...
Checking 58 files in /Applications/Emacs.app/Contents/Resources/lisp/url...
Checking 90 files in /Applications/Emacs.app/Contents/Resources/lisp/textmodes...
Checking 166 files in /Applications/Emacs.app/Contents/Resources/lisp/progmodes...
Checking 57 files in /Applications/Emacs.app/Contents/Resources/lisp/play...
Checking 62 files in /Applications/Emacs.app/Contents/Resources/lisp/org...
Checking 29 files in /Applications/Emacs.app/Contents/Resources/lisp/obsolete...
Checking 49 files in /Applications/Emacs.app/Contents/Resources/lisp/nxml...
Checking 1 files in /Applications/Emacs.app/Contents/Resources/lisp/nxml/char-name...
Checking 108 files in /Applications/Emacs.app/Contents/Resources/lisp/net...
Checking 48 files in /Applications/Emacs.app/Contents/Resources/lisp/mh-e...
Checking 88 files in /Applications/Emacs.app/Contents/Resources/lisp/mail...
Checking 58 files in /Applications/Emacs.app/Contents/Resources/lisp/language...
Checking 64 files in /Applications/Emacs.app/Contents/Resources/lisp/international...
Checking 264 files in /Applications/Emacs.app/Contents/Resources/lisp/gnus...
Checking 58 files in /Applications/Emacs.app/Contents/Resources/lisp/eshell...
Checking 70 files in /Applications/Emacs.app/Contents/Resources/lisp/erc...
Checking 52 files in /Applications/Emacs.app/Contents/Resources/lisp/emulation...
Checking 128 files in /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp...
Checking 57 files in /Applications/Emacs.app/Contents/Resources/lisp/calendar...
Checking 87 files in /Applications/Emacs.app/Contents/Resources/lisp/calc...
Checking 1 files in /Applications/Emacs.app/Contents/Resources/leim...
and finally in *Shadow* buffer:
No Emacs Lisp load-path shadowings were found
$ whereis git
$ which git
/usr/local/bin/git
I'm using both 22.2(in terminal) and 23.0 in Emacs.app on my MacBook Pro,
both installed by MacPorts.
There is no critical problem, almost everything are smoothly running, except the
vc mode. It runs perfectly in 22.2 in terminal, but never really work in Emacs.app.
When I open some file which IS under source control (svn or git), it says
'Load vc-git...done' or something like that (no errors), but the mode actually
not activated. It's really annoying.
Any suggestions? Or just some similar situation that have been mentioned here before?
Thanks.
Some system info below.
In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, *Step 9.0rc3)
of 2008-10-05 on oasis
Recent messages:
Loading /Users/neo/.emacs.d/cedet/common/cedet.el (source)...done
ECB 2.33beta2 uses loaded semantic 2.0pre4, eieio 1.0 and speedbar 1.0.1.
Loading /Users/neo/.emacs.d/yaml-mode.el (source)...done
Loading /Users/neo/.emacs.d/nxml-mode/rng-auto.el (source)...done
Loading /Users/neo/.emacs.d/find-recursive.el (source)...done
Loading /Users/neo/.emacs.d/snippet.el (source)...done
Loading /Users/neo/.ecb-user-layouts.el (source)...done
The ECB is now activated.
There are no NEWS to display.
For information about GNU Emacs and the GNU system, type C-h C-a.
> Which is NOT the correct path of my svn. In my working MacBook Pro, the SVN
> from Leopard installation is in /usr/bin, but the working SVN installation
> is in /opt/local/bin/ (from MacPorts). Here is some information about my
> SVNs:
That's not Emacs's fault: it's because /opt/local/bin is not in
your PATH. Most likely, you added /opt/local/bin to your PATH in your
~/.bashrc or somesuch, but this only affects things you do inside
a terminal since Mac OS X doesn't load this file when you login.
IIRC there's a ~/.macosx/environment.plist file you can use to set
envvars globally independently from any shell.
Stefan