From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755390AbbJHLkQ (ORCPT ); Thu, 8 Oct 2015 07:40:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:59205 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751516AbbJHLkL (ORCPT ); Thu, 8 Oct 2015 07:40:11 -0400 Subject: Re: [PATCH 1/2] linux/kconfig.h: generalize IS_ENABLED logic To: Rasmus Villemoes References: <5613F3DE.4010406@suse.cz> <1444165543-2209-1-git-send-email-linux@rasmusvillemoes.dk> <5614D49F.8070006@suse.cz> <87twq2pdne.fsf@rasmusvillemoes.dk> Cc: Paul Gortmaker , Jiri Slaby , Ingo Molnar , Andrew Morton , Thomas Gleixner , "H. Peter Anvin" , linux-kernel@vger.kernel.org From: Michal Marek Message-ID: <56165617.6050503@suse.cz> Date: Thu, 8 Oct 2015 13:40:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <87twq2pdne.fsf@rasmusvillemoes.dk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015-10-07 23:33, Rasmus Villemoes wrote: > On Wed, Oct 07 2015, Michal Marek wrote: >> It should be accompanied by a patch to scripts/tags.sh teaching >> ctags/etags about the new macros. > > Do you mean that something like > > --regex-c='/COND_CONFIG\([^,]*,([^,]*)\)/\1/' > > should be added so ctags would pick up the text in the true branch? I'm > not very familiar with ctags. Something like this, yes. This particular rule does not work for me, though and I don't see an obvious reason why. Michal