jed-users mailing list

[2016 Date Index] [2016 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [jed-users] Can't use jed as git editor, misc config questions


Greg Nisbet <gregory.nisbet@xxxxxxxxx> wrote:
> I'm trying to use jed as my git config editor. However, it doesn't
> seem to like being invoked "indirectly" by git. On OS X, it hangs
> forever with a message "loading
> /usr/local/Cellar/jed/0.99-19/jed/lib/emacs.sl" message.

0.99-19 has a bug that will cause it to hang when invoked from git on
some operating systems-- OS X is one.  This bug was fixed in version
pre0.99.20-2:

  2. src/unix.c: Fixed a problem on *BSD systems that arises when jed is
     invoked via "sh -c jed".  In this case, jed does not have access to
     the controlling terminal causing tcsetpgrp to fail.

Please try a more recent version from <http://jedsoft.org/snapshots/>.

> There are two configuration questions I can't figure out how to do.
> GNU Emacs has `M-y` as an option in isearch mode for copying from the
> kill ring to the isearch minibuffer. Does jed have an equivalent of
> this?

No but it should be easy to add to the emulation.  Any takers?

> Also, I'm trying to figure out how to enable line numbers by default.
> In my .jedrc, I have "toggle_line_number_mode ();". I only discovered

Try the following in your .jedrc file:

  define global_mode_hook (hook_name)
  {
     set_line_number_mode (1);
  }

> toggle line numbers in the current buffer. However, when starting up
> jed complains about "excess junk left on stack" and doesn't draw lines
> numbers in the left margin. I think that I might be seeing that error

Without seeing your .jedrc file, I cannot say why you are seeing this.
Somewhere you are calling a function that returns something but not
assigning it to a variable.

I hope this helps.
--John
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


[2016 date index] [2016 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]