Use Account Substring Matcher as the account selector
(*cough*)
This changes the execution of saved-reports, so, will never be acceptable
for merging in.
modified gnucash/report/standard-reports/transaction.scm
@@ -618,7 +618,7 @@ be excluded from periodic reporting.")
;; Accounts options
;; account to do report on
- (gnc:register-trep-option
+ #;(gnc:register-trep-option
(gnc:make-account-list-option
gnc:pagename-accounts optname-accounts
"a" (_ "Report on these accounts.")
@@ -1847,7 +1847,9 @@ be excluded from periodic reporting.")
(catch 'regular-expression-syntax
(lambda () (make-regexp
account-matcher))
(const 'invalid-regex))))
- (c_account_0 (opt-val gnc:pagename-accounts optname-accounts))
+ (c_account_0 (gnc-account-get-descendants
+ (gnc-book-get-root-account
+ (gnc-get-current-book))))
(c_account_1 (filter
(lambda (acc)
(if (regexp? account-matcher-regexp)
On Wed, 19 Dec 2018 at 23:10, Derek Atkins <[email protected]> wrote:
> Christopher Lam <[email protected]> writes:
>
> > With regard to selecting a 'wildcard' type of accounts selection, it's
> > a good entry-level idea for a budding scheme hacker :)
>
> I think it would require significantly more work than that, but I'd love
> to be proven wrong!
>
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
>
> -derek
>
> --
> Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> Member, MIT Student Information Processing Board (SIPB)
> URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> [email protected] PGP key available
>
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.