From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 42EBF6DE0F62 for ; Wed, 22 May 2019 07:56:21 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.2 X-Spam-Level: X-Spam-Status: No, score=-0.2 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GRXd_hAAncft for ; Wed, 22 May 2019 07:56:20 -0700 (PDT) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by arlo.cworth.org (Postfix) with ESMTPS id C53296DE0F40 for ; Wed, 22 May 2019 07:56:19 -0700 (PDT) Received: by mail-wm1-f66.google.com with SMTP id 15so2544047wmg.5 for ; Wed, 22 May 2019 07:56:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version; bh=G3LkDm3QTPEfF7wu35BfqDTwS3Y7enp1CP5QSj4hL28=; b=hFjJXIbeZTmB5jUcigPElFKRin7RnaC4Iw1hkDrB9zdHFUk5R99S0U4V2kmT7axQHK HhtVT8O2s1VptSL1H8combr8WIFH7lLJRVeeS9qHeNryQ0EwkKBoI/vhPKOO6sH20Su6 P3VhCwm5SmZbosNHDuYI9fxZ17/eKlZvikEQbacbrVhxDKqS4Qn2SgbnY7gUq/LlF8VC 9OKKmjupw4tegez1J6Ttij9iniDqE4146sJT+OEMw6gOW2k828Wm9vnQ6uOxjz4OsaMR dSJrTVAaAQ0Tegcjto7NqgFMeWTnOBTu4MXtQ/rj0tX30M9Tsc793DX/Y7KCwKVQKWC5 WI/Q== 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:in-reply-to:date:message-id :mime-version; bh=G3LkDm3QTPEfF7wu35BfqDTwS3Y7enp1CP5QSj4hL28=; b=Ad39y2y5wPx6zr9K7uRqnc4+xYm55rfW8ionvoNMBbFtJyhdHlQSeJxhLaWv0FzLEw s5u1bio70zSXoHX9jXF9E0SqBmm6JgKcGT/jZEZymrsuf30vHExI2rTuclb1PZWixZDi k9OYZwFTu1ZQkmZZ71oViBGcAfYMSxHPFjirmdaTTUhX6VxrQw7Q4E1QqFqacHF8ojw0 Nv8SlfeSl9vUcFdO1uYa7piec+10gJQ6MfOZ99JHEmYBnZ0yiY8nU+jRKZkLdat+kxh3 CJBK0HdNHBLEU1gEzRJGQWriqHe4D10keigeDCtlkjXCuCDZnf7ddnzBDZ/cHeHSpr6P QAIw== X-Gm-Message-State: APjAAAXjub/Qcy4YObhQwNxR805X7A7AvO37fhZ1SEkx2mwmUic0/890 6gf+ALS6BPQ1aanu4lHqwQ== X-Google-Smtp-Source: APXvYqxo+ySKXJnAcjCg9i2WTOM8twrtnvl3LYtdzrs6ArLdEHGXfP7ePUewaatqkyUSQeASd3QgzA== X-Received: by 2002:a05:600c:551:: with SMTP id k17mr7776696wmc.119.1558536977928; Wed, 22 May 2019 07:56:17 -0700 (PDT) Received: from thinkpad.localdomain ([2001:861:3dc1:2a20:3633:590a:ee24:90c3]) by smtp.gmail.com with ESMTPSA id n1sm4706004wmc.19.2019.05.22.07.56.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 May 2019 07:56:17 -0700 (PDT) From: Leo Vivier To: notmuch@notmuchmail.org Cc: tomi.ollila@iki.fi Subject: Re: [PATCH 1/2] emacs: Move notmuch-search-interactive-region to notmuch-lib as notmuch-interactive-region In-Reply-To: Date: Wed, 22 May 2019 16:56:15 +0200 Message-ID: <87blzutu5s.fsf@hidden> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Mailman-Approved-At: Wed, 22 May 2019 08:38:38 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2019 14:56:21 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Sorry for answering late. On Mon, May 20 2019, Tomi Ollila wrote: > It is wiki -- look around the web page to see how to update. Thanks, I didn=E2=80=99t know it was wiki. I=E2=80=99ve pushed the amendme= nt. [...] > s/patch/commit/ -- it is no longer patch when applied! >=20 > it may be possible that db could amend this... You=E2=80=99re right. I=E2=80=99ve amended the commit message. --=20 Leo Vivier --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-emacs-make-old-function-obsolete.patch >From f7b0390ee411dbeb8c2c6691f717675ab3a723c2 Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Mon, 20 May 2019 14:21:13 +0200 Subject: [PATCH] emacs: make old function obsolete `notmuch-search-interactive-region' was moved to notmuch-lib.el in f3cba19f882471a396a6b6175a709ccd1f6f34a0 and renamed to `notmuch-interactive-region' without making the old function obsolete, thereby breaking user-commands which made use of it. This commit marks the function as obsolete and makes it an alias for the new function. --- emacs/notmuch-lib.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 7fc342a5..96a1da90 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -1017,6 +1017,11 @@ region if the region is active, or both `point' otherwise." (list (region-beginning) (region-end)) (list (point) (point)))) +(define-obsolete-function-alias + 'notmuch-search-interactive-region + 'notmuch-interactive-region + "notmuch 0.28.1") + (provide 'notmuch-lib) ;; Local Variables: -- 2.21.0 --=-=-=--