unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [elpa] master e0e44b8 2/2: When responding, let a blank sender pass
       [not found] ` <20171130021852.0D5622052F@vcs0.savannah.gnu.org>
@ 2017-11-30  3:59   ` Stefan Monnier
  2017-11-30  4:17     ` Eric Abrahamsen
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2017-11-30  3:59 UTC (permalink / raw)
  To: emacs-devel; +Cc: Eric Abrahamsen

> +		   (or (null from)
> +		       (null (gnorb-user-address-match-p from)))))

DeMorgan says: (not (and from (gnorb-user-address-match-p from)))


        Stefan



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

* Re: [elpa] master e0e44b8 2/2: When responding, let a blank sender pass
  2017-11-30  3:59   ` [elpa] master e0e44b8 2/2: When responding, let a blank sender pass Stefan Monnier
@ 2017-11-30  4:17     ` Eric Abrahamsen
  2017-11-30  4:39       ` Alexis
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Abrahamsen @ 2017-11-30  4:17 UTC (permalink / raw)
  To: emacs-devel

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

>> +		   (or (null from)
>> +		       (null (gnorb-user-address-match-p from)))))
>
> DeMorgan says: (not (and from (gnorb-user-address-match-p from)))

I don't know who DeMorgan is, but I could certainly hear a little voice
in my ear telling me I was doing something wrong.

Thanks,
Eric




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

* Re: [elpa] master e0e44b8 2/2: When responding, let a blank sender pass
  2017-11-30  4:17     ` Eric Abrahamsen
@ 2017-11-30  4:39       ` Alexis
  2017-11-30  4:45         ` Eric Abrahamsen
  0 siblings, 1 reply; 4+ messages in thread
From: Alexis @ 2017-11-30  4:39 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-devel


Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> I don't know who DeMorgan is

https://en.wikipedia.org/wiki/De_Morgan%27s_laws


Alexis.



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

* Re: [elpa] master e0e44b8 2/2: When responding, let a blank sender pass
  2017-11-30  4:39       ` Alexis
@ 2017-11-30  4:45         ` Eric Abrahamsen
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Abrahamsen @ 2017-11-30  4:45 UTC (permalink / raw)
  To: emacs-devel

Alexis <flexibeast@gmail.com> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> I don't know who DeMorgan is
>
> https://en.wikipedia.org/wiki/De_Morgan%27s_laws

Yes, in the intervening quarter hour, I googled :)

That was extremely useful! It's good just to have a rule like that to
hand, rather than feeling like you're starting from scratch every time
you want to express complicated logic. I've often struggled with complex
nested conditionals, and these rules will come in handy.




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

end of thread, other threads:[~2017-11-30  4:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20171130021850.29845.55412@vcs0.savannah.gnu.org>
     [not found] ` <20171130021852.0D5622052F@vcs0.savannah.gnu.org>
2017-11-30  3:59   ` [elpa] master e0e44b8 2/2: When responding, let a blank sender pass Stefan Monnier
2017-11-30  4:17     ` Eric Abrahamsen
2017-11-30  4:39       ` Alexis
2017-11-30  4:45         ` Eric Abrahamsen

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).