* In CVS Emacs, calc-eval gives multiplication higher precidence than division
@ 2008-09-07 16:06 Francis Litterio
2008-09-07 16:37 ` Jay Belanger
0 siblings, 1 reply; 19+ messages in thread
From: Francis Litterio @ 2008-09-07 16:06 UTC (permalink / raw)
To: bug-gnu-emacs, emacs-devel
In CVS Emacs, function calc-eval (in lisp/calc/calc.el) gives
multiplication higher precidence than division. To reproduce, run
"emacs -q" and evaluate this form:
(progn
(require 'calc)
(calc-eval "1 / 2 * 1000"))
The value of the above form is "5e-4" (as if operator '*' has higher
precidence than operator '/'), but it should be "500".
--
Fran
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-07 16:06 In CVS Emacs, calc-eval gives multiplication higher precidence than division Francis Litterio
@ 2008-09-07 16:37 ` Jay Belanger
2008-09-07 18:15 ` Francis Litterio
2008-09-07 19:46 ` Stefan Monnier
0 siblings, 2 replies; 19+ messages in thread
From: Jay Belanger @ 2008-09-07 16:37 UTC (permalink / raw)
To: Francis Litterio; +Cc: jay.p.belanger, bug-gnu-emacs, emacs-devel
Francis Litterio <flitterio@gmail.com> writes:
...
> In CVS Emacs, function calc-eval (in lisp/calc/calc.el) gives
> multiplication higher precidence than division.
That's not a bug. While many systems give division a higher precendence
than multiplication, that isn't a universal rule. Calc has always given
multiplication a higher precendence, and something like
1 / 2 * 1000
can be viewed as shorthand for
1
--------
2 * 1000
Some people don't like this, some people do, but this choice is
established Calc behavior and is highlighted in the manual. To divide
first, it's probably better style regardless to put in the parentheses:
(1 / 2) * 1000
Jay
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-07 16:37 ` Jay Belanger
@ 2008-09-07 18:15 ` Francis Litterio
2008-09-07 19:46 ` Stefan Monnier
1 sibling, 0 replies; 19+ messages in thread
From: Francis Litterio @ 2008-09-07 18:15 UTC (permalink / raw)
To: emacs-devel; +Cc: bug-gnu-emacs
Jay Belanger wrote:
> Francis Litterio writes:
> ...
>> In CVS Emacs, function calc-eval (in lisp/calc/calc.el) gives
>> multiplication higher precidence than division.
>
> That's not a bug. While many systems give division a higher precendence
> than multiplication, that isn't a universal rule. Calc has always given
> multiplication a higher precendence, and something like
> 1 / 2 * 1000
> can be viewed as shorthand for
> 1
> --------
> 2 * 1000
> Some people don't like this, some people do, but this choice is
> established Calc behavior and is highlighted in the manual. To divide
> first, it's probably better style regardless to put in the parentheses:
> (1 / 2) * 1000
Thanks, Jay.
My apologies for rehashing old news. I just discovered the discussion
thread at:
http://thread.gmane.org/gmane.emacs.devel/69436
--
Fran
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-07 16:37 ` Jay Belanger
2008-09-07 18:15 ` Francis Litterio
@ 2008-09-07 19:46 ` Stefan Monnier
2008-09-07 20:19 ` bug#920: " Lennart Borgman (gmail)
` (2 more replies)
1 sibling, 3 replies; 19+ messages in thread
From: Stefan Monnier @ 2008-09-07 19:46 UTC (permalink / raw)
To: jay.p.belanger; +Cc: bug-gnu-emacs, Francis Litterio, emacs-devel
> That's not a bug. While many systems give division a higher precendence
> than multiplication, that isn't a universal rule.
Actually, I don't know of any system that gives higher precedence to
division. The general rule that (AFAIK) all programming languages
follow (other than those that don't use infix-with-precedence, such as
Lisp and Smalltalk) is that * and / have the same precedence (and are
left associative).
I think Calc is plainly wrong is giving higher precedence to the
multiplication because it's completely non standard. But since I don't
use Calc much and since it's been that way for a while, I won't fight
for it.
Stefan
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: bug#920: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-07 19:46 ` Stefan Monnier
@ 2008-09-07 20:19 ` Lennart Borgman (gmail)
2008-09-07 20:32 ` Randal L. Schwartz
2008-09-07 20:35 ` Jay Belanger
2 siblings, 0 replies; 19+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-07 20:19 UTC (permalink / raw)
To: Stefan Monnier, 920
Cc: jay.p.belanger, bug-gnu-emacs, Francis Litterio, emacs-devel
Stefan Monnier wrote:
> I think Calc is plainly wrong is giving higher precedence to the
> multiplication because it's completely non standard. But since I don't
> use Calc much and since it's been that way for a while, I won't fight
> for it.
I think there are good reasons fixing it:
- There are enough people out there that are not aware of the precedence
rules. Making calc follow them would help remove that confusion. (And I
would feel safer when crossing bridges.)
- Not following standards makes Emacs harder to use for new users.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-07 19:46 ` Stefan Monnier
2008-09-07 20:19 ` bug#920: " Lennart Borgman (gmail)
@ 2008-09-07 20:32 ` Randal L. Schwartz
2008-09-08 10:30 ` Carsten Dominik
2008-09-07 20:35 ` Jay Belanger
2 siblings, 1 reply; 19+ messages in thread
From: Randal L. Schwartz @ 2008-09-07 20:32 UTC (permalink / raw)
To: emacs-devel; +Cc: bug-gnu-emacs
>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:
Stefan> I think Calc is plainly wrong is giving higher precedence to the
Stefan> multiplication because it's completely non standard. But since I don't
Stefan> use Calc much and since it's been that way for a while, I won't fight
Stefan> for it.
Given the original author's mathematics bias, it made sense (to me, as
an early tester and contributor) that:
2 * 3 / 4 * 5
would be parsed as
(2 * 3) / (4 * 5)
in a mathematical sense.
Admittedly, if you're a computer-science guy and not a math guy, this might
seem initially odd.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-07 20:32 ` Randal L. Schwartz
@ 2008-09-08 10:30 ` Carsten Dominik
2008-09-08 11:01 ` Lennart Borgman
2008-09-08 13:01 ` Stefan Monnier
0 siblings, 2 replies; 19+ messages in thread
From: Carsten Dominik @ 2008-09-08 10:30 UTC (permalink / raw)
To: Randal L. Schwartz; +Cc: bug-gnu-emacs, emacs-devel
On Sep 7, 2008, at 10:32 PM, Randal L. Schwartz wrote:
>>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
> Stefan> I think Calc is plainly wrong is giving higher precedence to
> the
> Stefan> multiplication because it's completely non standard. But
> since I don't
> Stefan> use Calc much and since it's been that way for a while, I
> won't fight
> Stefan> for it.
I would fight for the current calc implementation, it is an important
convenience when entering equations. I am relying on it every day.
- Carsten
>
>
> Given the original author's mathematics bias, it made sense (to me, as
> an early tester and contributor) that:
>
> 2 * 3 / 4 * 5
>
> would be parsed as
>
> (2 * 3) / (4 * 5)
>
> in a mathematical sense.
>
> Admittedly, if you're a computer-science guy and not a math guy,
> this might
> seem initially odd.
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503
> 777 0095
> <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.vox.com/ for Smalltalk and Seaside
> discussion
>
>
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-08 10:30 ` Carsten Dominik
@ 2008-09-08 11:01 ` Lennart Borgman
2008-09-08 20:33 ` Carsten Dominik
2008-09-08 13:01 ` Stefan Monnier
1 sibling, 1 reply; 19+ messages in thread
From: Lennart Borgman @ 2008-09-08 11:01 UTC (permalink / raw)
To: Carsten Dominik; +Cc: bug-gnu-emacs, emacs-devel, Randal L. Schwartz
On 9/8/08, Carsten Dominik <carsten.dominik@gmail.com> > I would fight
for the current calc implementation, it is an important
> convenience when entering equations. I am relying on it every day.
Exactly how are you relying on that the current behaviour is the default?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-08 11:01 ` Lennart Borgman
@ 2008-09-08 20:33 ` Carsten Dominik
2008-09-08 20:39 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 19+ messages in thread
From: Carsten Dominik @ 2008-09-08 20:33 UTC (permalink / raw)
To: Lennart Borgman; +Cc: bug-gnu-emacs, emacs-devel, Randal L. Schwartz
On Sep 8, 2008, at 1:01 PM, Lennart Borgman wrote:
> On 9/8/08, Carsten Dominik <carsten.dominik@gmail.com> > I would fight
> for the current calc implementation, it is an important
>> convenience when entering equations. I am relying on it every day.
>
> Exactly how are you relying on that the current behaviour is the
> default?
By typing algebraic equations into the minibuffer and saving tons of
key strokes by leaving off parenthesis. I often type equations like
p = n k T / mu mp
and it saves me 4 key strokes to not having to type the parenthesis
p = (n k T) / (mu mp)
- Carsten
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-08 20:33 ` Carsten Dominik
@ 2008-09-08 20:39 ` Lennart Borgman (gmail)
2008-09-08 20:43 ` Randal L. Schwartz
0 siblings, 1 reply; 19+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-08 20:39 UTC (permalink / raw)
To: Carsten Dominik; +Cc: bug-gnu-emacs, emacs-devel, Randal L. Schwartz
Carsten Dominik wrote:
>
> On Sep 8, 2008, at 1:01 PM, Lennart Borgman wrote:
>
>> On 9/8/08, Carsten Dominik <carsten.dominik@gmail.com> > I would fight
>> for the current calc implementation, it is an important
>>> convenience when entering equations. I am relying on it every day.
>>
>> Exactly how are you relying on that the current behaviour is the default?
>
>
> By typing algebraic equations into the minibuffer and saving tons of key
> strokes by leaving off parenthesis. I often type equations like
>
> p = n k T / mu mp
>
> and it saves me 4 key strokes to not having to type the parenthesis
>
> p = (n k T) / (mu mp)
Yes, sorry, I should not have asked like that. I get a little bit upset
that many people here accept defaults that can make it harder for
newbees just for a little bit convenience. (But I guess I am a bit
unfair. Someone more in favour of the view opposite to mine in this
question can surely put it more nicely.)
Of course I can see that the behaviour you want saves you a lot of key
strokes. My question is really about the default value. You can easily
change that, of course. The question is really if you prefer the old
default and in that case what arguments you want to present for that.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-08 20:39 ` Lennart Borgman (gmail)
@ 2008-09-08 20:43 ` Randal L. Schwartz
2008-09-08 20:53 ` bug#914: " Lennart Borgman (gmail)
` (2 more replies)
0 siblings, 3 replies; 19+ messages in thread
From: Randal L. Schwartz @ 2008-09-08 20:43 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: bug-gnu-emacs, emacs-devel, Carsten Dominik
>>>>> "Lennart" == Lennart Borgman (gmail) <lennart.borgman@gmail.com> writes:
Lennart> Of course I can see that the behaviour you want saves you a lot of key
Lennart> strokes. My question is really about the default value. You can easily
Lennart> change that, of course. The question is really if you prefer the old
Lennart> default and in that case what arguments you want to present for that.
There's no need to change the longstanding defaults, because it would break
things. You already have a knob you can tweak if you think that "2 a / 3 b"
should multiply by b, rather than divide by it. That's a personal choice.
Frankly, I'd never touch that knob, because it looks to me like it should
divide by b. And I think most mathemeticians would agree, and that's the
target for that part of Calc. Stop thinking computer science. Think
*math* notation.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-08 20:43 ` Randal L. Schwartz
@ 2008-09-08 20:53 ` Lennart Borgman (gmail)
2008-09-08 21:42 ` Stefan Monnier
2008-09-09 8:11 ` Richard M. Stallman
2 siblings, 0 replies; 19+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-08 20:53 UTC (permalink / raw)
To: Randal L. Schwartz; +Cc: emacs-devel, 914, Carsten Dominik
Randal L. Schwartz wrote:
>>>>>> "Lennart" == Lennart Borgman (gmail) <lennart.borgman@gmail.com> writes:
>
> Lennart> Of course I can see that the behaviour you want saves you a lot of key
> Lennart> strokes. My question is really about the default value. You can easily
> Lennart> change that, of course. The question is really if you prefer the old
> Lennart> default and in that case what arguments you want to present for that.
>
> There's no need to change the longstanding defaults, because it would break
> things. You already have a knob you can tweak if you think that "2 a / 3 b"
> should multiply by b, rather than divide by it. That's a personal choice.
I think communication can be very difficult if you have too much
personal choice in it. Math is about communication (for a special class
of logical problems).
The original bug report was about this
(calc-eval "1 / 2 * 1000")
Calc treats this as 1 / (2 * 1000) which is just plain wrong. I have
never seen a mathematician treat it that way - though I have seen many
pupils doing that.
> Frankly, I'd never touch that knob, because it looks to me like it should
> divide by b. And I think most mathemeticians would agree, and that's the
> target for that part of Calc. Stop thinking computer science. Think
> *math* notation.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-08 20:43 ` Randal L. Schwartz
2008-09-08 20:53 ` bug#914: " Lennart Borgman (gmail)
@ 2008-09-08 21:42 ` Stefan Monnier
2008-09-09 8:11 ` Richard M. Stallman
2 siblings, 0 replies; 19+ messages in thread
From: Stefan Monnier @ 2008-09-08 21:42 UTC (permalink / raw)
To: Randal L. Schwartz
Cc: bug-gnu-emacs, Carsten Dominik, Lennart Borgman (gmail),
emacs-devel
Lennart> Of course I can see that the behaviour you want saves you a lot of key
Lennart> strokes. My question is really about the default value. You can easily
Lennart> change that, of course. The question is really if you prefer the old
Lennart> default and in that case what arguments you want to present for that.
> There's no need to change the longstanding defaults, because it would break
> things. You already have a knob you can tweak if you think that "2 a / 3 b"
> should multiply by b, rather than divide by it. That's a personal choice.
Nobody in this thread has said that "2 a / 3 b" should multiply by b.
What I (and others) have said is that "2 * a / 3 * b" should multiply by b.
Stefan
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-08 20:43 ` Randal L. Schwartz
2008-09-08 20:53 ` bug#914: " Lennart Borgman (gmail)
2008-09-08 21:42 ` Stefan Monnier
@ 2008-09-09 8:11 ` Richard M. Stallman
2008-09-09 13:26 ` Stefan Monnier
2 siblings, 1 reply; 19+ messages in thread
From: Richard M. Stallman @ 2008-09-09 8:11 UTC (permalink / raw)
To: Randal L. Schwartz
Cc: bug-gnu-emacs, carsten.dominik, lennart.borgman, emacs-devel
There's no need to change the longstanding defaults, because it would break
things. You already have a knob you can tweak if you think that "2 a / 3 b"
should multiply by b, rather than divide by it. That's a personal choice.
Frankly, I'd never touch that knob, because it looks to me like it should
divide by b.
I agree completely -- in that case, it is natural for b to go in the
denominator.
The same is true for 1 / 2 * 1000: the meaning of 1/2000 is more
natural, mathematically.
What Calc does now is clearly correct.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-08 10:30 ` Carsten Dominik
2008-09-08 11:01 ` Lennart Borgman
@ 2008-09-08 13:01 ` Stefan Monnier
1 sibling, 0 replies; 19+ messages in thread
From: Stefan Monnier @ 2008-09-08 13:01 UTC (permalink / raw)
To: Carsten Dominik; +Cc: bug-gnu-emacs, emacs-devel, Randal L. Schwartz
> I would fight for the current calc implementation, it is an important
> convenience when entering equations. I am relying on it every day.
It's really a very minor issue that only determines when and where you
need to place parentheses. And you can control it with a config var in
case you don't like the default.
Stefan
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-07 19:46 ` Stefan Monnier
2008-09-07 20:19 ` bug#920: " Lennart Borgman (gmail)
2008-09-07 20:32 ` Randal L. Schwartz
@ 2008-09-07 20:35 ` Jay Belanger
2008-09-07 21:15 ` Stefan Monnier
2 siblings, 1 reply; 19+ messages in thread
From: Jay Belanger @ 2008-09-07 20:35 UTC (permalink / raw)
To: Stefan Monnier
Cc: jay.p.belanger, bug-gnu-emacs, Francis Litterio, emacs-devel
>> That's not a bug. While many systems give division a higher precendence
>> than multiplication, that isn't a universal rule.
>
> Actually, I don't know of any system that gives higher precedence to
> division.
According to Wikipedia:
An expression like 1/2x is interpreted as 1/(2x) by TI-82, but as
(1/2)x by TI-83. While the first interpretation may be expected by
some users, only the latter is in agreement with the standard rules
stated above.
> The general rule that (AFAIK) all programming languages
> follow (other than those that don't use infix-with-precedence, such as
> Lisp and Smalltalk) is that * and / have the same precedence (and are
> left associative).
That behavior is available, but you have to ask for it by setting
`calc-multiplication-has-precedence' to nil.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-07 20:35 ` Jay Belanger
@ 2008-09-07 21:15 ` Stefan Monnier
2008-09-07 21:19 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 19+ messages in thread
From: Stefan Monnier @ 2008-09-07 21:15 UTC (permalink / raw)
To: jay.p.belanger; +Cc: bug-gnu-emacs, Francis Litterio, emacs-devel
>>> That's not a bug. While many systems give division a higher precendence
>>> than multiplication, that isn't a universal rule.
>> Actually, I don't know of any system that gives higher precedence to
>> division.
> According to Wikipedia:
> An expression like 1/2x is interpreted as 1/(2x) by TI-82, but as
> (1/2)x by TI-83. While the first interpretation may be expected by
> some users, only the latter is in agreement with the standard rules
> stated above.
That could be due to a higher precedence, but could also be due to an
equal precedence together with left-associativity. Given that (a*b)/c
is often mathematically equal to a*(b/c), the difference is generally
hard to see, unless rounding comes into play.
All textbooks and language references I know use the "equal precedence
and left associativity" rule rather than giving higher precedence to
the division.
>> The general rule that (AFAIK) all programming languages
>> follow (other than those that don't use infix-with-precedence, such as
>> Lisp and Smalltalk) is that * and / have the same precedence (and are
>> left associative).
> That behavior is available, but you have to ask for it by setting
> `calc-multiplication-has-precedence' to nil.
I know. But we're talking about the default behavior.
Stefan
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
2008-09-07 21:15 ` Stefan Monnier
@ 2008-09-07 21:19 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 19+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-07 21:19 UTC (permalink / raw)
To: Stefan Monnier
Cc: jay.p.belanger, bug-gnu-emacs, Francis Litterio, emacs-devel
Stefan Monnier wrote:
>> According to Wikipedia:
>> An expression like 1/2x is interpreted as 1/(2x) by TI-82, but as
>> (1/2)x by TI-83. While the first interpretation may be expected by
>> some users, only the latter is in agreement with the standard rules
>> stated above.
>
> That could be due to a higher precedence, but could also be due to an
> equal precedence together with left-associativity. Given that (a*b)/c
> is often mathematically equal to a*(b/c), the difference is generally
> hard to see, unless rounding comes into play.
But that is a bit different from (a/b)*c, a/(b*c) ... - otherwise I agree.
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2008-09-09 13:26 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-07 16:06 In CVS Emacs, calc-eval gives multiplication higher precidence than division Francis Litterio
2008-09-07 16:37 ` Jay Belanger
2008-09-07 18:15 ` Francis Litterio
2008-09-07 19:46 ` Stefan Monnier
2008-09-07 20:19 ` bug#920: " Lennart Borgman (gmail)
2008-09-07 20:32 ` Randal L. Schwartz
2008-09-08 10:30 ` Carsten Dominik
2008-09-08 11:01 ` Lennart Borgman
2008-09-08 20:33 ` Carsten Dominik
2008-09-08 20:39 ` Lennart Borgman (gmail)
2008-09-08 20:43 ` Randal L. Schwartz
2008-09-08 20:53 ` bug#914: " Lennart Borgman (gmail)
2008-09-08 21:42 ` Stefan Monnier
2008-09-09 8:11 ` Richard M. Stallman
2008-09-09 13:26 ` Stefan Monnier
2008-09-08 13:01 ` Stefan Monnier
2008-09-07 20:35 ` Jay Belanger
2008-09-07 21:15 ` Stefan Monnier
2008-09-07 21:19 ` Lennart Borgman (gmail)
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).