From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Re: Gnus splitting question Date: Mon, 07 Dec 2020 19:40:19 +0530 Organization: Code Is Great Foundation Message-ID: References: <868sa9dd7v.fsf@x201.butler.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27773"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Emacs Help To: Leo Butler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 07 15:32:57 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kmHZQ-00077L-SB for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 15:32:56 +0100 Original-Received: from localhost ([::1]:50940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmHZP-00038g-T8 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 09:32:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmHDe-00055Z-Gb for help-gnu-emacs@gnu.org; Mon, 07 Dec 2020 09:10:26 -0500 Original-Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:51943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmHDc-0003b5-Hy for help-gnu-emacs@gnu.org; Mon, 07 Dec 2020 09:10:26 -0500 Original-Received: by mail-pj1-x102e.google.com with SMTP id z12so7412228pjn.1 for ; Mon, 07 Dec 2020 06:10:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:organization:references:mail-followup-to:date :in-reply-to:message-id:user-agent:mime-version; bh=BE1kBQnefTHhqxr5ekEQHu57gTK5cbklJvjRz30a+tU=; b=y4Ew6OsyuW40e0fXheuN0Fak5f/evaAs21M2WnfFIc7eUuIVEyQRZ7elKLH/APkmcd lyeobQZdZfMcRsPUHebESRaaH5l7aRA5eVE3+nkwIM0XZFptV1n+4jPIRpO52DUp0YPr FcLDpXwq2h6XKGKk7tGpfdv+N4UwGYmp7q/30FhIYhRQXHfHK/OQMdLp4j2LUbvVAOdu djUWnca0FxJKmikN6xqR/BlLMEXuECyZZSLa6RATBTLqbCUPTcFcAlJzv0UUItdkY1fy mZUYYWQr+kmWvd9nD68y/9IagukSzB2gagfnvlLAht7l5bixNZ+fQvh4PMa7wegeM8du L5aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-followup-to:date:in-reply-to:message-id:user-agent :mime-version; bh=BE1kBQnefTHhqxr5ekEQHu57gTK5cbklJvjRz30a+tU=; b=OQTUaRN2DIIpZC4qsUEWsnYa2uFBeieCzjEOqVd0wl3wd0VLx33GYdT1X418+QulKL MeT2PiBC5y3IqJm/pW/xSnAXFx24TS33PnFAPYiSZ8+DsjirItTH025JzhJosfgncF5Z Frwb0S4xAkv1DYSSFFdd82J1yVPaK91+5bRTMmYAMSjeQnB98TWEsWjW+htKJmFC24+G VdF4E05Vr77f4Zo4jOVi7vLUiKIyt5mFKbmQ5mWjMOlFU2actZ5iABl0zPXgk0YbyEar kpMiGXhCTJe9PBO3ArWfUc52fhMfRrb2+oLhzSyuPLbuKoTViouShS67Nb/ddhzTO2xM Qn7g== X-Gm-Message-State: AOAM532yE3V2FIW7vyA8DiyaROdaznUZHNInmG6WQvY1LYNt3obVm3BE R0NCaTtIbiXbq5Wjf5eMBXY19Zwclp4toA== X-Google-Smtp-Source: ABdhPJzpnprZCp4i0rOEYwdRGda6YYQWPeLvQLhT6XH1s8wh43nRaSUFyU0ledl0nDPytqOsWCp7Xw== X-Received: by 2002:a17:90a:e507:: with SMTP id t7mr16532386pjy.26.1607350222511; Mon, 07 Dec 2020 06:10:22 -0800 (PST) Original-Received: from mb2.local ([2405:201:5c06:70bc:75cc:c69a:14a4:363f]) by smtp.gmail.com with ESMTPSA id y189sm1909773pfb.155.2020.12.07.06.10.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 06:10:21 -0800 (PST) Mail-Followup-To: Leo Butler , Emacs Help In-Reply-To: <868sa9dd7v.fsf@x201.butler.org> (Leo Butler's message of "Mon, 07 Dec 2020 06:15:16 -0600") Received-SPF: none client-ip=2607:f8b0:4864:20::102e; envelope-from=pankaj@codeisgreat.com; helo=mail-pj1-x102e.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 07 Dec 2020 09:32:30 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126153 Archived-At: Leo Butler writes: >> Why this difference in behaviour? > > Quoting. With '(...), everything inside the form evaluates to itself, > which is not what you want. > > You want to use backtick quote `(...) and insert the value of > my-split-list using the comma ,my-split-list : > > (add-to-list 'gnus-secondary-select-methods > `(nnimap "otp" > (nnimap-address "imap.gmail.com") > (nnimap-inbox "INBOX") > (nnimap-expunge immediately) > (nnimap-split-methods ,my-split-list))) > Thanks. That worked for me.