From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tatsu Takamaro Newsgroups: gmane.emacs.help Subject: Re: [External] : Q2 - moving by sentences and what is considered to be a sentence Date: Tue, 17 Dec 2024 00:39:22 +0300 Message-ID: References: <0cdeee8e-8e88-e895-4429-4c667db1e7e7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9632"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 To: Drew Adams , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 22:40:11 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNIp0-0002Pj-N7 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 22:40:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNIoM-00077H-9w; Mon, 16 Dec 2024 16:39:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNIoL-000774-H4 for help-gnu-emacs@gnu.org; Mon, 16 Dec 2024 16:39:29 -0500 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNIoJ-0004Mq-LD for help-gnu-emacs@gnu.org; Mon, 16 Dec 2024 16:39:29 -0500 Original-Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-382610c7116so2290992f8f.0 for ; Mon, 16 Dec 2024 13:39:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734385166; x=1734989966; darn=gnu.org; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=vZDCx+0mABYvA7CCWTD0hcmYddDcmQg621n/2hXdzxI=; b=UDa8PDFujPa3vHii6cn5QwXpmWBZoI8EfqmklF6uE9gVS0etHzbOUX+N595d/KQuqQ Nu0QppbhLBLJGsK6FdfxeHxuIJwAo+ldsWBeAQdtO1AEIPkJ7CyJogfXIaMUwkYdruOh jvTjBD1XVwdOREzNKQQgbCsaPxdKQwfa2lBz6YsEKPsJq9XpHHglkWebJy5aIjvAZmxK HQk9ZdAAOAjt63smLASR99rmXCte1jYLm2M9bEnrzc/+CiboKz1txO5bSfdPI0dFrENe zU+NnPV2gXX11S0kOlmRBERY4/oMudoeT0U5ybrIxnPH6WvVFrLlIvtu5wm5OJUX0Fnu ND3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734385166; x=1734989966; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=vZDCx+0mABYvA7CCWTD0hcmYddDcmQg621n/2hXdzxI=; b=udKMHXZysxN1jXfx1gMscTfElpWWHGspe0AHeFLujC1JoTsMuI2iw1uYe92XRnd61o MsFG/cMjobEfvWU1fTbb/X5heEt326AXWavCpncdrW7EeHWNbWygtyEs4N3iKJjLJUpU +iGl94JrzPAX6LHecqnKDkk2rlxpN94j6znJ1e+rCRR2QmXLlA4NnSymBSrLnxKeLcWX lATMvlN3JS6qGfnKeYDZYoiU2oHUXwQTazD1V0es8tBE23P+0vbVq1PKGg5cXWRkTSa3 PQz9oCd/OZzQ3bHS7AMM7vK08pw215wer3sJEsfjTq2XnzumyYs3ojfHb/daXOrO72vM 0fyg== X-Forwarded-Encrypted: i=1; AJvYcCXkr9FosR4OML9NtMqXXcvMxkuH1WzOevfH7jHEuA4X/nHeOJU0V0StrQlmRXxQJis0AsY1gxDqmHvNfAdziQ==@gnu.org X-Gm-Message-State: AOJu0YxrHgZmwVEwhQX11qvVjB2BWNz1vngU9fkqs8cKgPreWwkzVUfY /LIFX66QOfYMXrmH0Ubn3x0fA+f156s4b8WvWMRmoITaFC5lQ4ibW+XP7A== X-Gm-Gg: ASbGnctZPDrv47pm5tAs2XCJpnYk7CxZRO626ejojX/Xn2NFfh1DHcctq+dK9zLGJRs 1+Hpv4dNTr1I5wM3PKKnatbW2Kdr1n5DmsPvy6IW6WSK4wDoY32o0qx0vXSMfXoBRdsgwyyb8tb xdyI1/C3tyRSFwUz7CvvZ2JdRcGS+xkuBOzPOvkx/Wos0CD0/GuFD/jNXdICD0z7arlt9LDoeoY +LUeHhomVa4/5t9ZiyO4E3wzbvnwzzEqS7LmzsNQ+z999FEa5GasFthztgme4KqD2w3w03/S51m MbSx4L4JxwoEsr3WTMqn+hjOCsk4s0oV1aw9Zn3V9teFa0A1kG6t X-Google-Smtp-Source: AGHT+IFuGPURLABfBabBm6ROKPV2kuJtg5yKjAq2RDj4Tflrlgh+kKHLEn3GwQMxKwUWWSKMvpV4Fg== X-Received: by 2002:a5d:47a1:0:b0:386:2e8c:e277 with SMTP id ffacd0b85a97d-3888e0c11e3mr10624867f8f.55.1734385165381; Mon, 16 Dec 2024 13:39:25 -0800 (PST) Original-Received: from [192.168.1.120] (broadband-37-110-24-126.ip.moscow.rt.ru. [37.110.24.126]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-388c801ac5asm9093098f8f.55.2024.12.16.13.39.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Dec 2024 13:39:24 -0800 (PST) Content-Language: ru In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=tatsu.takamaro@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.934, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148840 Archived-At: Thank you. The *'(sentence-end-double-space nil)* in the *custom-set-variables* section did the job. Of course, we have only one space between literary sentences, at least if we talk about a normal human text. I've never met another behaviour. вс, 15.12.2024 5:10, Drew Adams пишет: >> Commands "forward-sentence" and "backward-sentence" do not move by >> sentences actually. I tried in both Text and Fundamental modes. If there >> are two or more sentences in a line, they ignore the dot in the middle. >> I guess it is somehow connected with an internal mode's settings (what >> is considered to be a sentence). But it seems logical that when I'm in a >> Text mode, a literary sentence should be treated as sentence, where a >> dot sign (or ? or ! and so on) is a delimiter. >> >> How can I tell Emacs to treat sentences as literary sentences? At least >> in a Text mode. > Probably you have only one space character after the punctuation ending a sentence. If so, and if you want to continue to do that, then customize user option `sentence-end-double-space' to give it the value `nil'. Use `M-x customize-option' to do that. > > > `C-h v' tells you this: > > sentence-end-double-space is a variable defined in `paragraphs.el'. > > Its value is t > > This variable is safe as a file local variable if its value > satisfies the predicate `booleanp'. > > Documentation: > Non-nil means a single space does not end a sentence. > This is relevant for filling. See also `sentence-end-without-period' > and `colon-double-space'. > > This value is used by the function `sentence-end' to construct the > regexp describing the end of a sentence, when the value of the variable > `sentence-end' is nil. See Info node `(elisp)Standard Regexps'. > > You can customize this variable.