all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Federico Tedin <federicotedin@gmail.com>
Cc: Pierre Neidhardt <mail@ambrevar.xyz>, 39596@debbugs.gnu.org
Subject: bug#39596: 26.3; Export INSIDE_EMACS with Eshell
Date: Wed, 19 Feb 2020 18:10:06 +0100	[thread overview]
Message-ID: <mvmftf61p1t.fsf@suse.de> (raw)
In-Reply-To: <87y2sylf7p.fsf@gmail.com> (Federico Tedin's message of "Wed, 19 Feb 2020 17:22:18 +0100")

On Feb 19 2020, Federico Tedin wrote:

> Pierre Neidhardt <mail@ambrevar.xyz> writes:
>
>> Thanks for looking at this, Federico!
>>
>> Your patch looks good to me, just one comment below:
>>
>>> --- a/lisp/eshell/em-dirs.el
>>> +++ b/lisp/eshell/em-dirs.el
>>> @@ -191,6 +191,9 @@ eshell-dirs-initialize
>>>  		        (unless (ring-empty-p eshell-last-dir-ring)
>>>  			  (expand-file-name
>>>  			   (ring-ref eshell-last-dir-ring 0))))
>>> +            t)
>>> +           ("INSIDE_EMACS" ,(lambda (_indices)
>>> +                              (format "%s,eshell" emacs-version))
>>>              t))))
>>
>> Why did you unquote the lambda here?
>
> I need to unquote the lambda to get its value, right?

Unquoting allows it to be byte-compiled.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





  parent reply	other threads:[~2020-02-19 17:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-14  7:17 bug#39596: 26.3; Export INSIDE_EMACS with Eshell Pierre Neidhardt
2020-02-18 23:18 ` Federico Tedin
2020-02-19  7:40   ` Pierre Neidhardt
2020-02-19 16:22     ` Federico Tedin
2020-02-19 16:30       ` Pierre Neidhardt
2020-02-19 17:10       ` Andreas Schwab [this message]
2020-02-19 21:16         ` Federico Tedin

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

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

  git send-email \
    --in-reply-to=mvmftf61p1t.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=39596@debbugs.gnu.org \
    --cc=federicotedin@gmail.com \
    --cc=mail@ambrevar.xyz \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.