a) Transferring (carrying out or carrying in) an object, even of the smallest size or least value, except what one wears on oneself as clothing or ornament, from a private domain into a public domain or vice versa; b) carrying such an object onward a distance of four cubits, by carrying, throwing, etc., within a public domain.
A private domain (רשות היחיד [reshut ha-yachid]) is any space enclosed by walls or fences 10 handbreadths high or by ditches 10 handbreadths deep and 4 handbreadths wide. As a public domain (רשות הרבים [reshut ha-rabbim]) we have to regard every open place not enclosed on all sides in the manner stated. One may therefore neither inside nor outside a place of residence that is not completely enclosed in this way carry or throw anything four cubits, nor bring or hand anything from the street into a house or from a house into the street. Nor may one bring or hand anything from a planted garden with an area of 70 square cubits into an adjoining house, or vice versa. (ח"א מז נג)
Open towns and villages can, however, be turned into a private domain by an enclosing arrangement made according to the directions of someone learned in the Torah, so that one may then carry and convey objects from the houses of these places into the streets and vice versa, as well as within these places, but only after the following act has preceded.
A loaf of bread procured at the common expense of all the inhabitants of the place is deposited before the Sabbath at a place accessible to all; by this act the place of deposit is declared a dwelling place common to all, and all the private domains of the town and its streets a single private domain. This is customarily done on the eve of Pesach, which is why the benediction and formula to be spoken with it are found in the Machzor [festival prayer book]. (שתופי מבואות, עירובי חצרות [shittufei mevo'ot, partnership in alleys; eruvei chatzerot, merging of courtyards]). (ח"א עב)
Even without carrying anything, it is forbidden on the Sabbath to walk a distance of more than 2000 cubits (paces) from the edge of our place of residence. The 2000 cubits are reckoned in the following manner.
Let us imagine a rectangle drawn around our place of residence, within which all its habitable buildings come to lie that do not stand isolated at a distance of 70 cubits, and let us draw around it a second rectangle parallel to it, 2070 cubits distant from its sides; then we may move freely to and fro from all points of the inner rectangle to all points of the outer, but not further. (תחום שבת [techum Shabbat, the Sabbath boundary])
In order to perform a work pleasing to God (דבר מצוה [devar mitzvah]), e.g. to pray with a מנין [minyan, quorum of ten], one may, by means of an עירוב [eruv] (food for two meals) deposited within the limit of the 2000 cubits before the beginning of the Sabbath or festival, go a further 2000 cubits and return again to one's place of residence, but then from there, in a direction other than that of the eruv, not any further elsewhere; but one should not do any of this without consulting someone learned in the Torah. (ח"א עו)
*
Besides the precautionary prohibitions of our sages of blessed memory relating to the individual 39 primary labors, they have also issued the following general prohibitions.
It is forbidden on the Sabbath to commission a non-Israelite with tasks whose performance is forbidden to the Israelite. Only heating by a non-Israelite is permitted, for reasons of health, when the cold makes it necessary. On the day of preparation such commissions are permitted only if the work is to be done on movable objects, outside our house, for piece-wages (not day-wages), and the Sabbath is not necessary as working time for its completion (אמירה לנכרי [amirah le-nokhri, instructing a non-Jew]). (ח"א ג סב)
Objects that cannot or may not be used for their proper purpose on the Sabbath, e.g. inedible foodstuffs, tools for forbidden tasks, wares intended for sale, or such objects as have only come into existence on the Sabbath or have been taken from the soil in which they grew, such as freshly picked flowers or fruits, we may not move from their place on the Sabbath. With the tools mentioned, however, if they are not of special delicacy, this is permitted when the place where they lie, or they themselves, are to be used for a task permitted on the Sabbath (מוקצה [muktzeh, set-aside objects]). (ח"א סה סו)
B. The Festivals.
A. General.