The Shulchan Aruch · Orach Chayim
אורח חיים ש״נOrach Chayim 350
Siman 350 of 697 in Orach Chayim — 3 se'ifim
הלכות ערוביןLaws of Eruvin· siman 350
Se’if 1א׳
עוֹמֵד אָדָם בִּרְשׁוּת הַיָּחִיד וּמוֹצִיא יָדוֹ לִרְשׁוּת הָרַבִּים וּמְטַלְטֵל שָׁם חֲפָצִים שֶׁאֵינָם צְרִיכִים לוֹ בַּמָּקוֹם שֶׁהוּא עוֹמֵד שֶׁנּוֹטְלָן מִכָּאן וּמַנִּיחָן כָּאן, וּבִלְבַד שֶׁלֹּא יַעֲבִירֵם אַרְבַּע אַמּוֹת; וְלֹא חַיְישִׁינָן שֶׁמָּא יְבִיאֵם אֵלָיו, כֵּיוָן שֶׁאֵינָם צְרִיכִים לוֹ בַּמָּקוֹם שֶׁהוּא עוֹמֵד שָׁם הִלְכָּךְ מֻתָּר לַעֲמֹד, בִּרְשׁוּת הָרַבִּים לִטֹּל מַפְתֵּחַ בִּרְשׁוּת הַיָּחִיד וְלִפְתֹּחַ שָׁם, וְכֵן מֵרְשׁוּת הַיָּחִיד לִרְשׁוּת הָרַבִּים, אֲבָל לֹא יַעֲמֹד בִּרְשׁוּת הַיָּחִיד וְיוֹצִיא רֹאשׁוֹ לִרְשׁוּת הָרַבִּים וְיִשְׁתֶּה שָׁם, אוֹ אִיפְּכָא, אֶלָּא אִם כֵּן יַכְנִיס רֹאשׁוֹ וְרֻבּוֹ לַמָּקוֹם שֶׁהוּא שׁוֹתֶה דְּכֵיוָן שֶׁהוּא צָרִיךְ לְאֵלּוּ הַמַּיִם חַיְישִׁינָן שֶׁמָּא יְבִיאֵם אֵלָיו. אֲבָל מֻתָּר לַעֲמֹד בִּרְשׁוּת הַיָּחִיד אוֹ בִּרְשׁוּת הָרַבִּים וְלִשְׁתּוֹת בְּכַרְמְלִית, אוֹ אִיפְּכָא. וְיֵשׁ מְפָרְשִׁים דַּחֲפָצִים הַצְּרִיכִים לוֹ הַיְנוּ כֵּלִים נָאִים שֶׁהוּא צָרִיךְ לָהֶם, אֲבָל אִם הֵם כֵּלִים שֶׁאֵינָם נָאִים מֻתָּר לִשְׁתּוֹת מֵהֶם אַף עַל פִּי שֶׁלֹּא הוֹצִיא רֹאשׁוֹ וְרֻבּוֹ אֶלָּא שֶׁהוֹשִׁיט צַוָּארוֹ לְבַד. וּשְׁאָר טִלְטוּלִים, חוּץ מִשְּׁתִיָּה, אֲפִלּוּ כֵּלִים נָאִים מֻתָּר לְטַלְטֵל, שֶׁלֹּא גָּזְרוּ אֶלָּא בְּכֵלִים נָאִים וּבְשׁוֹתֶה בָּהֶם שֶׁהוּא מְקָרְבָן לְפִיו.
The law of someone who extends his head and most of his body between domains. Containing 3 paragraphs: A man may stand in the private domain and reach his hand to the public domain and carry objects there that he does not need where he is. He may move them around as long as he doesn't move them four amot. We do not worry that he will bring them to himself because he doesn't need them where he is. Therefore, one is permitted to stand in the public domain and take a key from the private domain and open a door there, and the same is true from the private domain to the public domain. However, he may not stand in the private domain and extend his head into the public domain and drink there, or the opposite, unless he extends his head and most of his body to the place from which he drinks; because he needs the water, we worry that he will bring the water to himself. However, one is permitted to stand in the private or public domain and drink in the karemlit, or vice versa. There are some who explain that objects that he needs are nice objects, but if the object is not nice, he may drink from them even without extending his head and most of his body and just extending his neck. Regarding other objects that are not drinking-related, one may even carry nice objects, because there is only a rabbinic decree for nice objects that he drinks from, because he will come to bring them near him.
Se’if 2ב׳
לֹא יַעֲמֹד אָדָם בִּרְשׁוּת הָרַבִּים וְיַשְׁתִּין אוֹ יִרֹק בִּרְשׁוּת הַיָּחִיד אוֹ בְּכַרְמְלִית, אוֹ אִיפְּכָא, אֲפִלּוּ אִם הוֹצִיא פִּיו וְאַמָּתוֹ לַחוּץ.
One should not stand in the public domain and urinate or spit into the private domain or the karmelit, or vice versa, even if he extends his mouth and arm outside [of his domain].
Se’if 3ג׳
רֻקּוֹ שֶׁנִּתְלַשׁ מִפִּיו וּמוּכָן לְזָרְקוֹ, יֵשׁ מִי שֶׁאוֹמֵר שֶׁלֹּא יְהַלֵּךְ ד' אַמּוֹת בִּרְשׁוּת הָרַבִּים עַד שֶׁיִּרֹק.
If spit is floating around his mouth and he is prepared to spit it out, there is one who says that he should not walk four amot in the public domain until he spits.
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0