Re: emacs / distel problem with dynamic tags

"Bill Clementson" <[email protected]> Wed, 4 Jul 2007 13:12:39 -0700
Newsgroups gmane.comp.lang.erlang.distel.devel
Message-ID <[email protected]>
Hi Matthias,

On 7/4/07, Matthias Radestock <[email protected]> wrote:
> Bill Clementson <[email protected]> writes:
>
> > Bill Clementson <[email protected]> writes:
> >
> >> "Roberto Saccon" <[email protected]> writes:
> >>
> >>> when using "M-.", "M-,", and "M-*" for jumping from call to function
> >>> implementation, emacs always asks me for the nodename.
> >>
> >> Presumably, you're using distel from svn and this issue only occurs when
> >> you're using calling erl-find-source with a prefix arg
> >> (e.g. - "C-u M-.")?
> >>
> >>> But I have defined the nodename (of a webapp inside yaws) and I can
> >>> reload modules perfectly without emacs asking me each time again for
> >>> the nodename.
> >>>
> >>> So how can I make emacs picking automatically that nodename for the
> >>> dynamic tags stuff ?
> >>
> >> There was a recent distel enhancement (which allows one to select a
> >> node name when running many distel commands by calling the command
> >> with a prefix arg). This mod also affected the erl-find-source command.
>
> That's not a bug, but a feature.

One man's feature is another man's bug. ;-)

> I cannot think of any reason why one would regularly use the prefix arg
> for erl-find-source-under-point. All it does is prompt for the function
> to look up. erl-find-mod does the same thing, and without requiring a
> prefix arg, and hence wouldn't suffer from the reported problem.

Both erl-find-mod and erl-find-source-under-point call erl-find-source
(which had the call to erl-target-node in it that was causing the
problem).

-- 
Bill Clementson

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/