Re: Please store source file name + line number for all functions defined whether or not bashdb is running.

2019-03-02 Thread Chet Ramey
On 3/1/19 11:11 PM, L A Walsh wrote: > Furthermore, it appears the line numbers may be based on the "reconstituted > source" rather than the original source. Either way -- this is why I want > to be able to turn on storing of the definition from the beginning of the > login session. If you mean

Maybe implement emacs' previous-history-element

2019-03-02 Thread 積丹尼 Dan Jacobson
All I know is in emacs, let's say we did ^Rgrandma this morning, and in the afternoon we did ^Rgrandpa. Well we could do ^R^R to search for grandpa again, and for grandma we could employ ^R then > M-p (translated from p) runs the command > previous-history-element (found in minibuffer-local-isear

Some minor $*-like expansion issues

2019-03-02 Thread Grisha Levit
A few silly (and admittedly unlikely to be encoutered) cases where the behavior of certain expansions that should presumably mirror that of $* differs. With null IFS, leading/trailing spaces are removed from ${*:N} when used for assignment: $ IFS='' $ set -- ' X ' $ x=$* y=${*:1}; pr

Re: Please store source file name + line number for all functions defined whether or not bashdb is running.

2019-03-02 Thread L A Walsh
On 3/2/2019 2:29 PM, Chet Ramey wrote: > On 3/1/19 11:11 PM, L A Walsh wrote: > > >> Furthermore, it appears the line numbers may be based on the "reconstituted >> source" rather than the original source. Either way -- this is why I want >> to be able to turn on storing of the definition fro