Re: emacs / distel problem with dynamic tags

Matthias Radestock <[email protected]> Wed, 04 Jul 2007 15:57:17 +0100
Newsgroups gmane.comp.lang.erlang.distel.devel
Message-ID <[email protected]>
Bill,

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.

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.


Matthias.

-------------------------------------------------------------------------
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/