unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Thomas Hisch <t.hisch@gmail.com>, aaermolov@gmail.com
Cc: notmuch@notmuchmail.org, Austin Clements <amdragon@gmail.com>
Subject: Re: notmuch-emacs and Emacs26 (master)
Date: Fri, 07 Apr 2017 08:29:10 -0300	[thread overview]
Message-ID: <874ly0foc9.fsf@tethera.net> (raw)
In-Reply-To: <CA+e_QiduccVqpBK4bvR--=Jj=Akc_UDTQ3KZBP=Ni7iPZub+7A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1330 bytes --]

Thomas Hisch <t.hisch@gmail.com> writes:

> I fixed this by applying the following patch. TBH, I didn't check that
> everything is still working as expected, but the compilation succeeds.
>
> ---
>  emacs/notmuch.el | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
> index d8d3afe..ab58fcb 100644
> --- a/emacs/notmuch.el
> +++ b/emacs/notmuch.el
> @@ -411,13 +411,13 @@ the region between points BEG and END.  As a special
> case, if (=
>  BEG END), FUNCTION will be applied to the result containing point
>  BEG."
>
> -  (lexical-let ((pos (notmuch-search-result-beginning beg))

> - (first t))
> +  (let ((pos (notmuch-search-result-beginning beg))

I'm pretty sure there's a reason Austin used lexical-let in the first
place, but maybe someone can convince me it isn't needed.

Since emacs 26 is not released yet, I guess you mean the master branch
of emacs? Since it currently doesn't compile, I can't really debug. Do
you have a precise revision that you have tested?

If you want to try to debug this you could try using git bisect (on
emacs) to figure out what commit broke things.

Another useful thing to know is whether emacs master can byte-compile
the minimal example attached. There will be warnings, but there should
not be any errors.

d


[-- Attachment #2: test.el --]
[-- Type: application/emacs-lisp, Size: 1008 bytes --]

[-- Attachment #3: Type: text/plain, Size: 108 bytes --]


PS: I couldn't actually apply that patch. Maybe try git-format-patch and
use an attachment if using gmail.

  reply	other threads:[~2017-04-07 11:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-06 11:12 notmuch-emacs and Emacs26 (master) aaermolov
2017-04-07  5:16 ` Thomas Hisch
2017-04-07 11:29   ` David Bremner [this message]
2017-04-08 17:03     ` [PATCH] emacs/notmuch.el: don't use 'function' as variable name David Bremner
2017-05-07 11:56       ` David Bremner
2017-04-21 17:23 ` notmuch-emacs and Emacs26 (master) Steven Allen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874ly0foc9.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=aaermolov@gmail.com \
    --cc=amdragon@gmail.com \
    --cc=notmuch@notmuchmail.org \
    --cc=t.hisch@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).