unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Eshell and lexical bindings
@ 2013-10-31 15:27 Nathan Trapuzzano
  2013-10-31 15:31 ` Nathan Trapuzzano
  2013-10-31 17:57 ` Stefan Monnier
  0 siblings, 2 replies; 9+ messages in thread
From: Nathan Trapuzzano @ 2013-10-31 15:27 UTC (permalink / raw)
  To: emacs-devel

I'm thinking about implementing optional lexical evaluation of forms
given to Eshell.  My intuition is to just use the buffer-local
`lexical-binding' variable to determine whether or not to evaluate forms
with lexical bindings.  Does anyone have a better idea?

Nathan



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Eshell and lexical bindings
  2013-10-31 15:27 Eshell and lexical bindings Nathan Trapuzzano
@ 2013-10-31 15:31 ` Nathan Trapuzzano
  2013-10-31 17:57 ` Stefan Monnier
  1 sibling, 0 replies; 9+ messages in thread
From: Nathan Trapuzzano @ 2013-10-31 15:31 UTC (permalink / raw)
  To: emacs-devel

Nathan Trapuzzano <nbtrap@nbtrap.com> writes:

> Does anyone have a better idea?

And would anyone that already knows the code like to volunteer?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Eshell and lexical bindings
  2013-10-31 15:27 Eshell and lexical bindings Nathan Trapuzzano
  2013-10-31 15:31 ` Nathan Trapuzzano
@ 2013-10-31 17:57 ` Stefan Monnier
  2013-11-01 10:22   ` Nathan Trapuzzano
  1 sibling, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2013-10-31 17:57 UTC (permalink / raw)
  To: Nathan Trapuzzano; +Cc: emacs-devel

> I'm thinking about implementing optional lexical evaluation of forms
> given to Eshell.  My intuition is to just use the buffer-local
> `lexical-binding' variable to determine whether or not to evaluate forms
> with lexical bindings.  Does anyone have a better idea?

I'd venture a guess that you can change to lexical-binding all-hog and
no user will notice.


        Stefan



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Eshell and lexical bindings
  2013-10-31 17:57 ` Stefan Monnier
@ 2013-11-01 10:22   ` Nathan Trapuzzano
  2013-11-01 12:30     ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Nathan Trapuzzano @ 2013-11-01 10:22 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> all-hog

What is this?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Eshell and lexical bindings
  2013-11-01 10:22   ` Nathan Trapuzzano
@ 2013-11-01 12:30     ` Stefan Monnier
  2013-11-01 12:39       ` Nathan Trapuzzano
  2013-11-01 21:32       ` Stephen Berman
  0 siblings, 2 replies; 9+ messages in thread
From: Stefan Monnier @ 2013-11-01 12:30 UTC (permalink / raw)
  To: Nathan Trapuzzano; +Cc: emacs-devel

>> all-hog
> What is this?

I'm not a native speaker, and have never really learned the exact
meaning, but my understanding of it is a mix of "all the way",
"bluntly", and "without looking back".


        Stefan



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Eshell and lexical bindings
  2013-11-01 12:30     ` Stefan Monnier
@ 2013-11-01 12:39       ` Nathan Trapuzzano
  2013-11-01 17:40         ` Stefan Monnier
  2013-11-01 21:32       ` Stephen Berman
  1 sibling, 1 reply; 9+ messages in thread
From: Nathan Trapuzzano @ 2013-11-01 12:39 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> all-hog
>> What is this?
>
> I'm not a native speaker, and have never really learned the exact
> meaning, but my understanding of it is a mix of "all the way",
> "bluntly", and "without looking back".

Will no one notice because no one uses it?

By the way, IELM already does evaluation with lexical binding according
to the value of lexical-binding.  I didn't know that.  I think I'll just
use ielm instead of eshell.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Eshell and lexical bindings
  2013-11-01 12:39       ` Nathan Trapuzzano
@ 2013-11-01 17:40         ` Stefan Monnier
  0 siblings, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2013-11-01 17:40 UTC (permalink / raw)
  To: Nathan Trapuzzano; +Cc: emacs-devel

>> I'm not a native speaker, and have never really learned the exact
>> meaning, but my understanding of it is a mix of "all the way",
>> "bluntly", and "without looking back".
> Will no one notice because no one uses it?

No: because the code that a user is likely to type there will behave the
same regardless of `lexical-binding'.


        Stefan



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Eshell and lexical bindings
  2013-11-01 12:30     ` Stefan Monnier
  2013-11-01 12:39       ` Nathan Trapuzzano
@ 2013-11-01 21:32       ` Stephen Berman
  2013-11-02  6:22         ` Stephen J. Turnbull
  1 sibling, 1 reply; 9+ messages in thread
From: Stephen Berman @ 2013-11-01 21:32 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Nathan Trapuzzano, emacs-devel

On Fri, 01 Nov 2013 08:30:01 -0400 Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>>> all-hog
>> What is this?
>
> I'm not a native speaker, and have never really learned the exact
> meaning, but my understanding of it is a mix of "all the way",
> "bluntly", and "without looking back".

FYI, the phrase is "whole hog", typically in the idiom "go whole hog"
(in American English; in British English the idiom is apparently "go the
whole hog").  It's similar to "go all out", which you may also have been
thinking of.

Steve Berman



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Eshell and lexical bindings
  2013-11-01 21:32       ` Stephen Berman
@ 2013-11-02  6:22         ` Stephen J. Turnbull
  0 siblings, 0 replies; 9+ messages in thread
From: Stephen J. Turnbull @ 2013-11-02  6:22 UTC (permalink / raw)
  To: Stephen Berman; +Cc: Nathan Trapuzzano, Stefan Monnier, emacs-devel

Stephen Berman writes:

 > FYI, the phrase is "whole hog", typically in the idiom "go whole hog"
 > (in American English; in British English the idiom is apparently "go the
 > whole hog").  It's similar to "go all out", which you may also have been
 > thinking of.

I think in this case Stefan's exact meaning would likely be captured
by "go for it" (or more CC ("commercially correct" :-) but not as
exact) "Just Do It".

The "whole hog" has somewhat sloppy connotations, BTW.  I'd never say
that *to* one of my contributors with the meaning of "go right ahead
(do whatever you want)", though it surely would be appropriate to say
*of* Ben Wing that he frequently "goes the whole hog." :-)



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-02  6:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31 15:27 Eshell and lexical bindings Nathan Trapuzzano
2013-10-31 15:31 ` Nathan Trapuzzano
2013-10-31 17:57 ` Stefan Monnier
2013-11-01 10:22   ` Nathan Trapuzzano
2013-11-01 12:30     ` Stefan Monnier
2013-11-01 12:39       ` Nathan Trapuzzano
2013-11-01 17:40         ` Stefan Monnier
2013-11-01 21:32       ` Stephen Berman
2013-11-02  6:22         ` Stephen J. Turnbull

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).