From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 00:12:55 2024 Received: (at submit) by debbugs.gnu.org; 15 Nov 2024 05:12:55 +0000 Received: from localhost ([127.0.0.1]:48113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBoda-0008Vb-I4 for submit@debbugs.gnu.org; Fri, 15 Nov 2024 00:12:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:51960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBoL2-0007fj-FC for submit@debbugs.gnu.org; Thu, 14 Nov 2024 23:53:45 -0500 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 1tBoL2-000321-28 for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 23:53:44 -0500 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBoL0-0003ko-Fc for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 23:53:43 -0500 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-539e4b7409fso1290724e87.0 for ; Thu, 14 Nov 2024 20:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731646420; x=1732251220; darn=gnu.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=Zgto3r9WbHUUrifmoFI/oGYnf5NeUdVh2KqRZeUhQNk=; b=ef11U9rSQX+9K1YrXwcOixS8MQL0YW+Ex9OqVl/WEhfBjRZFqg7nCCVJ19C0I8c7B+ RvFgseOSXOs5tvY6WBC5Ae7/+6ui67CncRTb58gbkYwm1W5OaUgx/WkmQyeBtEaZfvP0 urRhNJcSNVaqmXeg36LC1kR5VPh0NG8PkS9pUvWoorfOOG7uWWMn0THMtkFeddfxjH16 T+8luynQyr1BAa80FH0zUdpt3j6R7EIyCSmxMFNRtHQAQXRDOtGJraESm3utSQyNzAmL VYrVxaZ0x1oE+gTShWvi8kfCpWNupyNPdDLkh8apYixtadFTHFhGdNDEPgpBTNnSXZvq MxWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731646420; x=1732251220; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Zgto3r9WbHUUrifmoFI/oGYnf5NeUdVh2KqRZeUhQNk=; b=PQokIzsoaeDAcJusQk1/e0iZP/IP51RpmU8lkvYp9/2bcWK016Ra+WL3ryC7JveL6T tvHbOoM1GTkitrNcGZoeud2/gsiyxiRETaBhy7GborfCstHNwsjeCcA3KTjvkwoqZYrL 6YlpR0x9teYNd+OKiAvIo/2LB50lSo2M6yhWwyx9rCa5uIMLw9giNQQV8/P3LoROf2Fb vYYtmObipTonJdNJEchQqN3JMMBexDdD2TBh39fxjnMDzZS0/x6vEHtXmOJbwgX4IpQ4 5OKmBH5ntb7DPBLJO2pZaPTJ0bu8QwWn4N9jbkjsQwNnv+iB4C3h0Abb1dOcd5RBr8fM +3pg== X-Gm-Message-State: AOJu0Yxi8+WNY0XLePds2OvqfKAvSC2k8qdgB+oya+kmha7HdlORi/q/ N7xhzFb8b5EvLPumee7QcuHYq7fuLvlnu7md+1jJw/iLFZnQI8A9tYZy9g== X-Google-Smtp-Source: AGHT+IEUFtBySSa3otaHDFHJ0CQ+tIEPj+jlXgbNsFAGdoCJYx44wpf8341UWYE6TGCvJAdUlmS04w== X-Received: by 2002:a05:6512:ac1:b0:53d:aaf9:d91c with SMTP id 2adb3069b0e04-53daaf9dbf8mr425378e87.19.1731646419734; Thu, 14 Nov 2024 20:53:39 -0800 (PST) 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 2adb3069b0e04-53da64f2b7fsm421049e87.52.2024.11.14.20.53.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Nov 2024 20:53:38 -0800 (PST) Content-Type: multipart/alternative; boundary="------------Ju7GqCSuRQ1IfoPB9ioWMDmz" Message-ID: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> Date: Fri, 15 Nov 2024 07:53:36 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: ru To: bug-gnu-emacs@gnu.org From: Tatsu Takamaro Subject: Bug? Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=tatsu.takamaro@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 15 Nov 2024 00:12:49 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --------------Ju7GqCSuRQ1IfoPB9ioWMDmz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello! I'm new user. Just read the Manual. And I'd like to report a bug or ask a question (if it's not a bug). So, as it said in the Manual, the TUTORIAL file that I read is just a copy of the original, so I can change it freely. But. When I change it, and then triing to leave Emacs (Ctrl + x + c), I got this message. Error on exit: tutorial--saved-file: Wrong type argument: stringp, nil The debugger says: Debugger entered--Lisp error: (wrong-type-argument stringp nil)   file-name-extension(nil)   tutorial--saved-file()   tutorial--save-on-kill()   run-hook-with-args-until-failure(tutorial--save-on-kill)   save-buffers-kill-emacs(nil)   save-buffers-kill-terminal(nil)   funcall-interactively(save-buffers-kill-terminal nil)   command-execute(save-buffers-kill-terminal) The error appears only when you try to exit and the TUTORIAL file is modified. At the same time, Emacs allows saving the TUTORIAL file by Ctrl + x + s during operation. Regards, Tony. --------------Ju7GqCSuRQ1IfoPB9ioWMDmz Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hello! I'm new user. Just read the Manual. And I'd like to report a bug or ask a question (if it's not a bug). So, as it said in the Manual, the TUTORIAL file that I read is just a copy of the original, so I can change it freely. But. When I change it, and then triing to leave Emacs (Ctrl + x + c), I got this message.

Error on exit:
tutorial--saved-file: Wrong type argument: stringp, nil

The debugger says:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-name-extension(nil)
  tutorial--saved-file()
  tutorial--save-on-kill()
  run-hook-with-args-until-failure(tutorial--save-on-kill)
  save-buffers-kill-emacs(nil)
  save-buffers-kill-terminal(nil)
  funcall-interactively(save-buffers-kill-terminal nil)
  command-execute(save-buffers-kill-terminal)

The error appears only when you try to exit and the TUTORIAL file is modified. At the same time, Emacs allows saving the TUTORIAL file by Ctrl + x + s during operation.

Regards, Tony.

--------------Ju7GqCSuRQ1IfoPB9ioWMDmz-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 02:18:47 2024 Received: (at 74364) by debbugs.gnu.org; 15 Nov 2024 07:18:48 +0000 Received: from localhost ([127.0.0.1]:48344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBqbP-0005gj-Jq for submit@debbugs.gnu.org; Fri, 15 Nov 2024 02:18:47 -0500 Received: from ledu-giraud.fr ([51.159.28.247]:9930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBqbN-0005ga-9g for 74364@debbugs.gnu.org; Fri, 15 Nov 2024 02:18:46 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=hT+yGJ0Q 3o43LNtO+wBf0hKaGIA3OcEw5WuyNl5EBFI=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=bNAmoHIfynbiVrz+kS/0WNqrVvKOIv X7hr7W0erv2PLYgf+xDaz3yB8J0+lOXJVx0sgY/QazRxwxcupj+WGQDw== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=hT+yGJ0Q3o43LNtO +wBf0hKaGIA3OcEw5WuyNl5EBFI=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=cKGX2T3A2pSV5sGA6f3cqmwnzNziLWk6aAmuvr cBmR+tKUel7R5HAVdkXmovX3TCBoUiV4zjoigxmiZWd/apIoEUquS75h6uMEZ4cu+wQx9X nuMvFGJjaCIloLd+KY7EJv7cxUn22Jm5TCnO2vlDYcwJHYWwpT/CblWla3f4F6/0D3hSuM JmqL2MR+0TOFiCQUsnR48fF823HfWlMPnAFoZ7cfw11u2SlG03SNQS361rDXyvy+WAAVti ZbaOA0Yz/c4kKgF2M7RQrfUaPtcgpcSFv9Z+UVTQduJoyU1pJTAm+f07cP/UENvloNHbuY 2AVbxIieHbcpN5+KPnekmkTA== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 5910f7bf (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 15 Nov 2024 08:18:42 +0100 (CET) From: Manuel Giraud To: Tatsu Takamaro Subject: Re: bug#74364: Bug? In-Reply-To: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> (Tatsu Takamaro's message of "Fri, 15 Nov 2024 07:53:36 +0300") References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> Date: Fri, 15 Nov 2024 08:18:39 +0100 Message-ID: <8734jtvub4.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tatsu Takamaro writes: > Hello! I'm new user. Just read the Manual. And I'd like to report a > bug or ask a question (if it's not a bug). So, as it said in the > Manual, the TUTORIAL file that I read is just a copy of the original, > so I can change it freely. But. When I change it, and then triing to > leave Emacs (Ctrl + x + c), I got this message. > > Error on exit: > tutorial--saved-file: Wrong type argument: stringp, nil Hi, It seems like a bug but I cannot reproduce it. Could you try the same starting from emacs -Q? -- Manuel Giraud From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 18 04:10:11 2024 Received: (at 74364) by debbugs.gnu.org; 18 Nov 2024 09:10:11 +0000 Received: from localhost ([127.0.0.1]:59937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCxlr-0006lw-AH for submit@debbugs.gnu.org; Mon, 18 Nov 2024 04:10:11 -0500 Received: from ledu-giraud.fr ([51.159.28.247]:32108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCxlp-0006la-AV for 74364@debbugs.gnu.org; Mon, 18 Nov 2024 04:10:10 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=JUL7GFVP Fh9roasI3vXIA+/KFi1s3vZKnLilfjTcNpo=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=UpOQorxRfhqSCTzsETKE2AUK1axzdW cD24YKbW9tngAa09cP7WSwK4KDFrryjLbaHtjs7urWWyZDvK6ZyFJJCA== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=JUL7GFVPFh9roasI 3vXIA+/KFi1s3vZKnLilfjTcNpo=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=OL0iM4g4cWRCa1WXwQqDOeemtMQgdC8uAtHdEh pxxD2eRnjsr6Rw1arZHDz+6qNbh/swxL+Xkf1XWM3+pjL37Omv0yQbi6Gdm4O0PKGrloW7 8L6ogqFjP+87YD0BDtZLqg8xXnHy0opchYj10zOTLqWYb+RAnguzbXqjdqEsngK+MbpP4T jfz/rW29RPZALpK+m9liCc9EtVEpLyp5YAkMVYUoPMnrho0/YPmjHq6KeYDB+ex+a8fF5b GnL6+oawuurt1XLCVUCHc4j1fTLqRcU77qbak99cSLOtWF+mdkYX+zB0Z6dL+XYUi1KQn7 HDMLPHJDZPJtwb2D134PTLtw== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 6bb4ae51 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 18 Nov 2024 10:10:06 +0100 (CET) From: Manuel Giraud To: Tatsu Takamaro Subject: Re: bug#74364: Bug? In-Reply-To: <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> (Tatsu Takamaro's message of "Sat, 16 Nov 2024 00:48:01 +0300") References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> Date: Mon, 18 Nov 2024 10:10:06 +0100 Message-ID: <87bjyc29ht.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tatsu Takamaro writes: > Yes, with a -q key Emacs starts in a default view, and I still get the > same error, and all other behaviour is the same. [ Could you please keep the bug tracker as recipient of your message by doing a "reply to all" ] >From the TUTORIAL buffer, what the key sequence "C-h v tutorial--lang " gives you? -- Manuel Giraud From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 19 03:51:15 2024 Received: (at 74364) by debbugs.gnu.org; 19 Nov 2024 08:51:15 +0000 Received: from localhost ([127.0.0.1]:41008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDJx5-000214-75 for submit@debbugs.gnu.org; Tue, 19 Nov 2024 03:51:15 -0500 Received: from mail-lf1-f46.google.com ([209.85.167.46]:57610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDJx0-00020g-SI for 74364@debbugs.gnu.org; Tue, 19 Nov 2024 03:51:13 -0500 Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-539e8607c2aso747495e87.3 for <74364@debbugs.gnu.org>; Tue, 19 Nov 2024 00:51:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732006204; x=1732611004; darn=debbugs.gnu.org; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=HilyTG7gke/iBKUNT9N1QvP1JnGV2V8S9+T2WToH7gY=; b=dTGODExm12QLcDT+exG9fcPKswsa1DGmdVT8r0mqa4+Fq1RXvKRaLOdrukNSiKWlKr 0/NHGHqQAY5TxD6rqnggSHKWuPYz3gN02g/4Q6vQaNWmkE2PZoCk7uhkegVQi3HGR/QW MFwFLuSg3kbR5p3iMzQ8FLmX5IZfzXvwzdnbwXdJXRb5L2mh/i9vIYbs4fnKZvgphym3 efST2vz05gApKBxxINBCOT0rarIvlIe1qrGqJ/WdoAReCz3YFMUDqbFjRIV9Od4wp2gr xw1tz8gSdSthc228JuzveeU1SWuvs/aSTQtEtlBiUsrg/hXnmF6o5YZ3juJ8CgKqTQWS Covg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732006204; x=1732611004; h=in-reply-to:from:references:cc: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=HilyTG7gke/iBKUNT9N1QvP1JnGV2V8S9+T2WToH7gY=; b=lqj4Qsal4dmPHNeafvbdVR+kPvlDDIYeI3oenhu/UUXcD5AFX7IVTfueDpjuHjua2o GzDO6s0M1JCz4x1XXZM0NZOVyOOfX7TZ6GyAvSapaz/RoyoD205K1miMtb0duHGo7vdt u+nH7D0+TczyYXMW7rKQfqHUFoKYm9ItJuSKjv6WvoV4LYE9mMtWEL9CzjXMMIntq5vW 771dykJCAVVOITLZBbFbmipJ6y2TEJcZtJt+Qx+GIiyXSmVMT7U9w0luAABs6HWD5UaO 6IXAsPI1bUMWt6YcTtbLzI9/dFvMLB6bIUOtPlBvytw1xMs3DuYn9jm5oBWPzL3/A0lu CYsQ== X-Gm-Message-State: AOJu0YwaCwpN/aDMkQFWBYfn6d7k/+PoYxopJXYG2ti0silI36xA3ghy HoTuwl90Xo3cCxRKgbaytLibGGxkr/Zt7N8cfLOilgXmEocYXFPG X-Google-Smtp-Source: AGHT+IFIHqMV3QF6O7l6nI5w9z7ArA3gwtaOsOEA4Q8YPbVkcg9iO0+EgMAAbwLMWe3ENfMvxu9BMg== X-Received: by 2002:a05:6512:1192:b0:539:f554:78ac with SMTP id 2adb3069b0e04-53dab298b03mr5400669e87.9.1732006204033; Tue, 19 Nov 2024 00:50:04 -0800 (PST) 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 2adb3069b0e04-53dbd3fbe4dsm233087e87.63.2024.11.19.00.50.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Nov 2024 00:50:02 -0800 (PST) Content-Type: multipart/alternative; boundary="------------npkLmXGEclAQDM5uXJRg0Yre" Message-ID: <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> Date: Tue, 19 Nov 2024 11:50:01 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: bug#74364: Bug? Content-Language: ru To: Manuel Giraud References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> From: Tatsu Takamaro In-Reply-To: <87bjyc29ht.fsf@ledu-giraud.fr> X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) This is a multi-part message in MIME format. --------------npkLmXGEclAQDM5uXJRg0Yre Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit tutorial--lang is a variable defined in ‘tutorial.el’. Its value is "English" Local in buffer TUTORIAL; global value is nil Tutorial language.   Automatically becomes buffer-local when set. пн, 18.11.2024 12:10, Manuel Giraud пишет: > Tatsu Takamaro writes: > >> Yes, with a -q key Emacs starts in a default view, and I still get the >> same error, and all other behaviour is the same. > [ Could you please keep the bug tracker as recipient of your message by > doing a "reply to all" ] > > >From the TUTORIAL buffer, what the key sequence "C-h v tutorial--lang > " gives you? --------------npkLmXGEclAQDM5uXJRg0Yre Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

tutorial--lang is a variable defined in ‘tutorial.el’.

Its value is "English"
Local in buffer TUTORIAL; global value is nil

Tutorial language.

  Automatically becomes buffer-local when set.

пн, 18.11.2024 12:10, Manuel Giraud пишет:
Tatsu Takamaro <tatsu.takamaro@gmail.com> writes:

Yes, with a -q key Emacs starts in a default view, and I still get the
same error, and all other behaviour is the same.
[ Could you please keep the bug tracker as recipient of your message by
doing a "reply to all" ]

>From the TUTORIAL buffer, what the key sequence "C-h v tutorial--lang
<RET>" gives you?
--------------npkLmXGEclAQDM5uXJRg0Yre-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 19 09:23:42 2024 Received: (at 74364) by debbugs.gnu.org; 19 Nov 2024 14:23:42 +0000 Received: from localhost ([127.0.0.1]:41618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDP8o-0008Pz-38 for submit@debbugs.gnu.org; Tue, 19 Nov 2024 09:23:42 -0500 Received: from ledu-giraud.fr ([51.159.28.247]:24213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDP8l-0008Pp-5F for 74364@debbugs.gnu.org; Tue, 19 Nov 2024 09:23:40 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=x2AXcShh rYuVUNmoMpozhayc9YUMLqMxfBMCCrdCxJQ=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=mRsYjNbzF1LBLqukPggYFAw4dJCtvz cwZmzJoCtgmtYwkJY1Bg5dLiFjsqSlxadjmbofSLoLQqB2XKcCS74iAw== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=x2AXcShhrYuVUNmo Mpozhayc9YUMLqMxfBMCCrdCxJQ=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=YI8L1vVunl6VPpmoS7nACd7tUt7sbpuHgQcCw2 ITJyskfvFdXZEk8vuRJOP6YjbLcLzrMHGurOZn0uJhXUgviLTslbUPeiw4vZr0m+lwMhft VmVNhB4QcrudC3nZiSVtzeLF1eN/iXGUy3l/S1BSHjHiwwSQ2GloEAYQVS6v+0ZAarHBYt ScbRk/pTp1osSAc1AOxL4Zz5fQhm8FPjtlFpG7EUzednP7M0cgBphLth7j1f4AVGchiHuU Qnn6GbNsZvf00NcbLODrHQLDHeF9ObUAOdOrQC55rXUg/8yVCJmhvmyP+Y4+Rc5LsZ19Jw V+xxJMcCN15uqE0OjvsjdREA== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id a151ef9f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 19 Nov 2024 15:23:37 +0100 (CET) From: Manuel Giraud To: Tatsu Takamaro Subject: Re: bug#74364: Bug? In-Reply-To: <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> (Tatsu Takamaro's message of "Tue, 19 Nov 2024 11:50:01 +0300") References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> Date: Tue, 19 Nov 2024 15:23:36 +0100 Message-ID: <87h683qp3r.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tatsu Takamaro writes: > tutorial--lang is a variable defined in =E2=80=98tutorial.el=E2=80=99. > > Its value is "English" > Local in buffer TUTORIAL; global value is nil > > Tutorial language. > > =C2=A0 Automatically becomes buffer-local when set. Thanks, this seems normal. Which version of emacs are you running? What gives "M-: (emacs-build-description)"? --=20 Manuel Giraud From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 23 01:45:53 2024 Received: (at 74364) by debbugs.gnu.org; 23 Nov 2024 06:45:53 +0000 Received: from localhost ([127.0.0.1]:56517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEjtw-0004qS-Of for submit@debbugs.gnu.org; Sat, 23 Nov 2024 01:45:53 -0500 Received: from mail-qt1-f173.google.com ([209.85.160.173]:54425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEjtu-0004qC-MS for 74364@debbugs.gnu.org; Sat, 23 Nov 2024 01:45:51 -0500 Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-46375ac25fbso19769451cf.0 for <74364@debbugs.gnu.org>; Fri, 22 Nov 2024 22:45:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732344285; x=1732949085; darn=debbugs.gnu.org; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=gG6dslKLT/VfmD2e1YEYePGvbd1HLmgAIxZ+bbTgeOQ=; b=TLa9E8sJQbRP4ncLz1Kn/GoaZqKseyFH0GXVd67u1+FifVVjsfUHNUgiv3lSizdVwR JXroMpfR1ZHitDgPJi2EGc+tvle6jsGIDuIowSsjrx5w4Sz2r+ScD2nTT6T+tfq7X/kW S5ervxz6jrlOnadgzW9PchsOtUYjp5UhqAPiqJmuSjjzqUKHNn7CsUNivNT5mf+l5h0h 8Wbdh5KoY5by7a0eEgNZQj9zbsuCeZBicOSpkvLs9FMR8PDm+NgTBGA2qYHHKgprbvWR mSAgNCP/ResD0whctLMY8+ePtliZI90VEirwraAqZzyWdlqSQS/46av43YOrKty44WOy 3GEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732344285; x=1732949085; h=in-reply-to:from:references:cc: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=gG6dslKLT/VfmD2e1YEYePGvbd1HLmgAIxZ+bbTgeOQ=; b=tTuK5wCYr1Xfvj1bO8fr6gnJOU7F8KPueHj6C1Axzr1B5SFlHEpwWK0AuppH4/3dWR P5yjruKXHhmo6bfdvudQgIAFkzEil5tpR7VrFRpLEEejAj3raPEoUAD8X7DN46Kg0P0k NwpwUOIOPLe6mgbTkYjUzkGTP/mTcI6YbGuoXDqMUTexoQbyF+Dg//puEWZuww14mdt+ a1/9t4aCbGlIkcTKN5WDxZWogad31qI54Aa4uy4FohStq+1w/XOE8zWoDPTOVcqwAWMr TuX4g7kvLMd9HvRfl3ztjr0oVdZkB9o/OFWgvKlPPGM+PRnGyDe+fH2SfQIulKKa0QsV b6Tg== X-Gm-Message-State: AOJu0Ywpgdwa29z7Dny3SlL6p9s9JdzYw0Kupazt5/hE3QuAFqtstKuT NRM9i6e9d4okeycesjSJ8qRZWu9y8FTNcFZCDWphD7tDi5lc5g6OIUBzbGd/ X-Gm-Gg: ASbGncuesj3SalVlejclC0zdwX06M7SBHuDCueB0CSFTCPIEPozYeaat5a7++cgnvfD Lp5k6Zu80S2X+jcR/rc2mzlqAKiu9i4ySkhSJtNo28CJNGE/TnFpyL2IyJajoSX0CIZd82S5BMx 6+kXIaHQmVwkVrKSLdGVvw8lWylaRfMOJd5IKlUsan07xiEeufO9kAmUgTmDUqwnWk6gQXG598E gZQh5CzuiUgwX+bvgdybzRfqm87DSzdKYh7yTMpXUJj/A8/TXQZ1uxIeltIENF8Lg3i5SclJ3AD CsOWEqqNo3/+ X-Google-Smtp-Source: AGHT+IGPkF8FH+A/4BS+a9O9J50A3kovxIUx4qQ6+PAY20ZLYYI36+jvxhA4Zn5a1aljEDAM/fgj2g== X-Received: by 2002:ac8:7d49:0:b0:460:9b2b:e8ac with SMTP id d75a77b69052e-4653d63f0b3mr84018001cf.48.1732344285012; Fri, 22 Nov 2024 22:44:45 -0800 (PST) Received: from [10.102.37.150] ([23.227.149.24]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4653c415171sm20991961cf.53.2024.11.22.22.44.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Nov 2024 22:44:44 -0800 (PST) Content-Type: multipart/alternative; boundary="------------k3xuq8wsOnKkZQ9tNvvv8iai" Message-ID: <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> Date: Sat, 23 Nov 2024 09:44:41 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: bug#74364: Bug? Content-Language: ru To: Manuel Giraud References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> From: Tatsu Takamaro In-Reply-To: <87h683qp3r.fsf@ledu-giraud.fr> X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05 built on  AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.19045 System Description: Microsoft Windows 10 Pro (v10.0.2 [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.160.173 listed in sa-accredit.habeas.com] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [23.227.149.24 listed in zen.spamhaus.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.160.173 listed in bl.score.senderscore.com] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tatsu.takamaro[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.160.173 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.160.173 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -2.5 NICE_REPLY_A Looks like a legit reply (A) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) This is a multi-part message in MIME format. --------------k3xuq8wsOnKkZQ9tNvvv8iai Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05 built on  AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.19045 System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.5131) Configured using:  'configure --with-modules --without-dbus  --with-native-compilation=aot --without-compress-install  --with-sqlite3 --with-tree-sitter CFLAGS=-O2' вт, 19.11.2024 17:23, Manuel Giraud пишет: > Tatsu Takamaro writes: > >> tutorial--lang is a variable defined in ‘tutorial.el’. >> >> Its value is "English" >> Local in buffer TUTORIAL; global value is nil >> >> Tutorial language. >> >>   Automatically becomes buffer-local when set. > Thanks, this seems normal. Which version of emacs are you running? > What gives "M-: (emacs-build-description)"? --------------k3xuq8wsOnKkZQ9tNvvv8iai Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05 built on
 AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.19045
System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.5131)

Configured using:
 'configure --with-modules --without-dbus
 --with-native-compilation=aot --without-compress-install
 --with-sqlite3 --with-tree-sitter CFLAGS=-O2'

вт, 19.11.2024 17:23, Manuel Giraud пишет:
Tatsu Takamaro <tatsu.takamaro@gmail.com> writes:

tutorial--lang is a variable defined in ‘tutorial.el’.

Its value is "English"
Local in buffer TUTORIAL; global value is nil

Tutorial language.

  Automatically becomes buffer-local when set.
Thanks, this seems normal.  Which version of emacs are you running?
What gives "M-: (emacs-build-description)"?
--------------k3xuq8wsOnKkZQ9tNvvv8iai-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 23 05:50:37 2024 Received: (at 74364) by debbugs.gnu.org; 23 Nov 2024 10:50:37 +0000 Received: from localhost ([127.0.0.1]:56811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEnim-00080i-LJ for submit@debbugs.gnu.org; Sat, 23 Nov 2024 05:50:36 -0500 Received: from ledu-giraud.fr ([51.159.28.247]:42635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEnik-00080X-7n for 74364@debbugs.gnu.org; Sat, 23 Nov 2024 05:50:35 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=3YleSIHU s2tXEPHXpKNQlbl0BbLo2z45w4/lJN/y58A=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=KwQmpnJYVIDoZPAUdVX3loEhwLXQ4z ofgbd4Oytr1hTq49jqVqxczsQpz8CTPgjdfw+XhwcN9cDQRR9vQUc4BQ== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=3YleSIHUs2tXEPHX pKNQlbl0BbLo2z45w4/lJN/y58A=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=I+KsV3t6IX6DnlWGQXscAOD7Ickwk+GClDTNUg VTsRkUC+Ua2/UqQNAstikkRcIdvAnI65EY+RwxP8KO0fbhzuq5D1qfJ69dgZwqrTJvHfEg xQgep7MEV3ODAsj0iQDOotv2xRolWp8lASEl9WkGUY9yX2u788Elw30Oykh2WvSlwRERhZ Ft2HyQu8kyMhhNQkRFUBowQh+o3IKAT2NqxdBFlzja6WTzVTKtoyQIVbMrIL7zVzkHzWWF IKugU7hbj/CzL+bNq8i6KZ+eyjJe970eWKUNjY5nYV273vCIh5bU+c9VBeKd2NW34F3MKG Oun9PNwp/Zi5J4nRh62Y9dJg== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 69a24610 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 23 Nov 2024 11:50:28 +0100 (CET) From: Manuel Giraud To: Tatsu Takamaro Subject: Re: bug#74364: Bug? In-Reply-To: <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> (Tatsu Takamaro's message of "Sat, 23 Nov 2024 09:44:41 +0300") References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> Date: Sat, 23 Nov 2024 11:50:26 +0100 Message-ID: <87wmgu8brh.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tatsu Takamaro writes: > In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05 built on > =C2=A0AVALON > Windowing system distributor 'Microsoft Corp.', version 10.0.19045 > System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.5131) I just tried to reproduce it with Emacs 29.4 (not on windows though) and I was not able to get the same error as you. What is strange is that there is only one call to `file-name-extension' in `tutorial--saved-file' and at this point, as you've seen, `tutorial--lang' is set to something meaningful (not nil). --=20 Manuel Giraud From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 25 03:22:52 2024 Received: (at 74364) by debbugs.gnu.org; 25 Nov 2024 08:22:52 +0000 Received: from localhost ([127.0.0.1]:37757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFUMt-0002FQ-KR for submit@debbugs.gnu.org; Mon, 25 Nov 2024 03:22:52 -0500 Received: from mail-lj1-f176.google.com ([209.85.208.176]:59413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFUMs-0002FJ-GY for 74364@debbugs.gnu.org; Mon, 25 Nov 2024 03:22:51 -0500 Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2ffa12ad18cso45242231fa.2 for <74364@debbugs.gnu.org>; Mon, 25 Nov 2024 00:22:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732522909; x=1733127709; darn=debbugs.gnu.org; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=0PKPWB9z1pi7zNsjCXXhdRCRlD9vkPnmZ4uPwoO24eU=; b=A6ZltioJFyDbazSbHkRQ3OmduiSmElpmQiihI/niyNMJspd4c5oj4ZGxN/KCwT63Hf zIM1FYEcGuEyNMQMi1pMd6xwL3UYc5l7lknnwyJn2NvCjQ/ZltLFrNX6jVMNZqiwT+wc gXJGRXvk7dUimuZkuNxOUtmTLgOsH9Y/h3di7Crg2D5FO4dYa53hsW85NWHAYShIduZQ tT410A7ERZ2lFKza9rGQ+Y6pIS5IIxSj3DxacBKNVaKlqXBjREQfDhH0u99rpOaLhHjC 2BrALVQFRJgfXnUD+f3unSjKWlV4VIc9IqtyTy8gIP1OAASL8BvblHYPFHby5tsK0lzv 5iiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732522909; x=1733127709; h=in-reply-to:from:references:cc: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=0PKPWB9z1pi7zNsjCXXhdRCRlD9vkPnmZ4uPwoO24eU=; b=XYfJazRLnz/A0y1Jl8PhMAsQzG0ssPFZOFqfhnJFagOLRwuvbcummubM3189Lqd0xl X0KPGuI8tLplLdcPatlFc95HO+heYbwouq4G2pGxHinar7d03GfvZiZvV7qbZuwVy6KY fzezMvbEC4zO6bdrCmMLDDKsid1T6mkEwXnO3y5egRE4C7/yFL0z+DmuCgyt780WyKY7 i4A6fppGQsntCvRUCX9qztK8sdCxHv6Igcq3+Peoqel3KVNGK2eSSs34r8OfhLhPBpcc TMc+WTAdV8qU0x08CnqP/EUxHZuZipgZWheinqxJq1zeB/KHcW2QhHGsTtLMLtMO1O8+ 69Fw== X-Gm-Message-State: AOJu0YyM+nKAW+4LglvDqbHyN1YLvMqRLOrmN0w9yQa1yLyBG0ObQiW8 sWwHrqcDU/nDUcIE574BeRVD4bYOE80whtNe1MHyv8G6YY2sML9M X-Gm-Gg: ASbGncuNv6fo9/ydvbnPXY/AmwjbN6SqQCzyBNrzHWAHFcocKSfZKrlSTxGY+/uUgVY qg+/Pnpb4aRniSr82w9lMw5K4s9ChynfFLdkK8K7ocauK5XWNXyFdS74e585Wv/Ss8hMLK4GAqC 9TObM9FzRQLYrJH6utPazm9nxmt/FvmpbS5fHBnZoac22vUiLMlbE+6unIbOUCykr+yo+1bXdc+ nVbulhboa4jFBpQ6b0kklhkV4b140hBgLNOA49Aqy7WQEjh3oqpfNEjQQj5cK/IE90aZ9wZ+pgv RFz/fYHE25WO6r/oqgs100eC8pQ4FoOkrEbTANA= X-Google-Smtp-Source: AGHT+IEB69B8uCnjKPoytRd2G3nY7FXyWO5CN2DzsW2E56UXOOrFdmqw52O15U8dnGLcU2bMZO49AQ== X-Received: by 2002:a2e:a9a0:0:b0:2ff:c7ad:97a9 with SMTP id 38308e7fff4ca-2ffc7ad9a4bmr3754541fa.33.1732522908968; Mon, 25 Nov 2024 00:21:48 -0800 (PST) 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 38308e7fff4ca-2ffb91cc6afsm6830871fa.46.2024.11.25.00.21.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Nov 2024 00:21:46 -0800 (PST) Content-Type: multipart/alternative; boundary="------------Vy0OxqYaYZSuqRMiCfwUIngV" Message-ID: Date: Mon, 25 Nov 2024 11:21:45 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: bug#74364: Bug? Content-Language: ru To: Manuel Giraud References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> From: Tatsu Takamaro In-Reply-To: <87wmgu8brh.fsf@ledu-giraud.fr> X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) This is a multi-part message in MIME format. --------------Vy0OxqYaYZSuqRMiCfwUIngV Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Well, it's not a big problem though. But I can describe my actions as an algorithm for you to make it easier to reproduce the bug: 1. I start Emacs, it starts with my minor custom changes that I added to .emacs file. 2. Open an Emacs Tutorial with a mouse click and answer Yes to load my remembered position. 3. Put some changes into the Tutorial. Say, just add a new line. 4. Press C-x-s to save. Emacs asks me to write a filename, I write TUTORIAL, because the full path is alredy shown. Then Emacs asks me whether I want to overwrite the file. I anser Yes (type y). 5. Minibuffer shows me message "Wrote c:\...path...TUTORIAL" 6. I Press C-x-c to exit. It shows "Save your position in the tutorial?". Answer Yes (y). 7. Minibuffer shows "Wrong type argument: stringp, nil". And doesn't quit! 8. Then I press C-x-c again, but now I choose No (n). And Emacs exits. Tutorial file is not saved (I can see it by opening it again and check)! So, here is how it is going on. But note, that if I skip the 4-th item (don't press C-x-s to save) and press C-x-c right after changing the Tutorial (addding a new line), Emacs quits normally and the Tutorial file is being saved! So, I guess it is a C-x-s function that triggers problem. Hope it will help you cathing the bug. сб, 23.11.2024 13:50, Manuel Giraud пишет: > Tatsu Takamaro writes: > >> In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05 built on >>  AVALON >> Windowing system distributor 'Microsoft Corp.', version 10.0.19045 >> System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.5131) > I just tried to reproduce it with Emacs 29.4 (not on windows though) and > I was not able to get the same error as you. > > What is strange is that there is only one call to `file-name-extension' > in `tutorial--saved-file' and at this point, as you've seen, > `tutorial--lang' is set to something meaningful (not nil). --------------Vy0OxqYaYZSuqRMiCfwUIngV Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Well, it's not a big problem though. But I can describe my actions as an algorithm for you to make it easier to reproduce the bug:

1. I start Emacs, it starts with my minor custom changes that I added to .emacs file.

2. Open an Emacs Tutorial with a mouse click and answer Yes to load my remembered position.

3. Put some changes into the Tutorial. Say, just add a new line.

4. Press C-x-s to save. Emacs asks me to write a filename, I write TUTORIAL, because the full path is alredy shown. Then Emacs asks me whether I want to overwrite the file. I anser Yes (type y).

5. Minibuffer shows me message "Wrote c:\...path...TUTORIAL"

6. I Press C-x-c to exit. It shows "Save your position in the tutorial?". Answer Yes (y).

7. Minibuffer shows "Wrong type argument: stringp, nil". And doesn't quit!

8. Then I press C-x-c again, but now I choose No (n). And Emacs exits. Tutorial file is not saved (I can see it by opening it again and check)!

So, here is how it is going on. But note, that if I skip the 4-th item (don't press C-x-s to save) and press C-x-c right after changing the Tutorial (addding a new line), Emacs quits normally and the Tutorial file is being saved! So, I guess it is a C-x-s function that triggers problem.

Hope it will help you cathing the bug.

сб, 23.11.2024 13:50, Manuel Giraud пишет:
Tatsu Takamaro <tatsu.takamaro@gmail.com> writes:

In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05 built on
 AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.19045
System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.5131)
I just tried to reproduce it with Emacs 29.4 (not on windows though) and
I was not able to get the same error as you.

What is strange is that there is only one call to `file-name-extension'
in `tutorial--saved-file' and at this point, as you've seen,
`tutorial--lang' is set to something meaningful (not nil).
--------------Vy0OxqYaYZSuqRMiCfwUIngV-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 25 14:10:59 2024 Received: (at 74364) by debbugs.gnu.org; 25 Nov 2024 19:10:59 +0000 Received: from localhost ([127.0.0.1]:40761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFeU6-0007ax-Vh for submit@debbugs.gnu.org; Mon, 25 Nov 2024 14:10:59 -0500 Received: from ledu-giraud.fr ([51.159.28.247]:24917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFeU4-0007al-1y for 74364@debbugs.gnu.org; Mon, 25 Nov 2024 14:10:57 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=g+8km0Hc LrIh+/RlifIAg3YlKTJJlbNWTvpwmqq/jhs=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=Qqk8joGLsDoC7AEDYzGJbE9RMIA/mg JEXMK1KQCMBfA4mRf2bawrK96jovOOznKDF0Ruvbq5T48E0xrgL+IWCA== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=g+8km0HcLrIh+/Rl ifIAg3YlKTJJlbNWTvpwmqq/jhs=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=QefZSfujzPLwoPXId+k5G4kN77EQKk2PDxraee mA96A7PqgJFO3C62YdW4BZSmYjhpDTDBN30X8JvZ+h8AGLaFCeH+tLRrfabwtjil9DM4LM 4NxkxyDLdckCNkNi4yDws3+Ns8SKm8Ri2bVrUz85HbUiJKvPG17KaYx5E/inaxgB1o3Fcz AZt7KM/Jg0m+Fl992g704pqw6XKA3DnnDHa6pyYsAF2XnfnLLfp0zPnL8SviUtda4siPHA V1qwL95uLpObRV6ia5PYKOD4Z422SJDTxKJ5Bx3spGPVg/7iBApO40BzZL2KH0OAdW6PxD bIU7SquaV0mqBu1Dog8Fx/tA== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 2a9a893c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 25 Nov 2024 20:10:51 +0100 (CET) From: Manuel Giraud To: Tatsu Takamaro Subject: Re: bug#74364: Bug? In-Reply-To: (Tatsu Takamaro's message of "Mon, 25 Nov 2024 11:21:45 +0300") References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> Date: Mon, 25 Nov 2024 20:10:49 +0100 Message-ID: <87iksb6see.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tatsu Takamaro writes: [...] Ok, now your recipe is more precise and I can reproduce it. > 3. Put some changes into the Tutorial. Say, just add a new line. > > 4. Press C-x-s to save. Emacs asks me to write a filename, I write > TUTORIAL, because the full path is alredy shown. Then Emacs asks me > whether I want to overwrite the file. I anser Yes (type y). After this 'C-x C-s', you have saved the content of the (modified) TUTORIAL into a file named "TUTORIAL" somewhere on your hard drive. Now, in this buffer, `tutorial--lang' is set to nil (which cause the error you saw) and Emacs still wants to save your progression in the tutorial and that's why it asks the question when you tried to quit. This is indeed a bug but maybe saving the TUTORIAL buffer is not supported. Or we should remap `save-buffer' to save tutorial progression here? -- Manuel Giraud From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 26 07:51:31 2024 Received: (at 74364) by debbugs.gnu.org; 26 Nov 2024 12:51:31 +0000 Received: from localhost ([127.0.0.1]:48064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFv2Q-0000dD-TI for submit@debbugs.gnu.org; Tue, 26 Nov 2024 07:51:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFv2O-0000cv-7G for 74364@debbugs.gnu.org; Tue, 26 Nov 2024 07:51:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tFv2I-0006NP-8h; Tue, 26 Nov 2024 07:51:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=I4OuptvJQqTV5AvVzBfQue1uQGOV/LdBs9mAHNVg7U4=; b=BddDmRFfGxbM 1n1IrQxOwKvXZkSTj1vtVwX2exlc2gwgNJDKLKbHzMQ8Oe6cTxOPkUCKj+XlY6rhjO+i6zStOijzN v3yQXp2sXEJB2ver/EF9qSHf+bEV3c/YR0gx4o6jHTaQIMg+fPtmxjb0iNcctmlKteZq5aYHZkZ6a PW7UXk2bWCh5UngPZY+mLhxODdL4kEvwQ5Xktai3rJB8ptrF3i6yJsrl8cTl+mc0YAcfGxHuniuJ8 UQ0bR6/C+Yo1hgyJ3HtzfiubTUqXsm+rjhwPXT0A61N4/KKSLtx+cXn8CpVN7sGXohYEMs16ChmNL t3Nsx0+qoVEaakp7A/ORFQ==; Date: Tue, 26 Nov 2024 14:51:14 +0200 Message-Id: <86seregnul.fsf@gnu.org> From: Eli Zaretskii To: Manuel Giraud In-Reply-To: <87iksb6see.fsf@ledu-giraud.fr> (bug-gnu-emacs@gnu.org) Subject: Re: bug#74364: Bug? References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> <87iksb6see.fsf@ledu-giraud.fr> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org, tatsu.takamaro@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 74364@debbugs.gnu.org > Date: Mon, 25 Nov 2024 20:10:49 +0100 > From: Manuel Giraud via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Tatsu Takamaro writes: > > [...] > > Ok, now your recipe is more precise and I can reproduce it. > > > 3. Put some changes into the Tutorial. Say, just add a new line. > > > > 4. Press C-x-s to save. Emacs asks me to write a filename, I write > > TUTORIAL, because the full path is alredy shown. Then Emacs asks me > > whether I want to overwrite the file. I anser Yes (type y). > > After this 'C-x C-s', you have saved the content of the (modified) > TUTORIAL into a file named "TUTORIAL" somewhere on your hard drive. > Now, in this buffer, `tutorial--lang' is set to nil (which cause the > error you saw) and Emacs still wants to save your progression in the > tutorial and that's why it asks the question when you tried to quit. > > This is indeed a bug but maybe saving the TUTORIAL buffer is not > supported. Or we should remap `save-buffer' to save tutorial > progression here? Saving TUTORIAL is a strange thing to do. What is the purpose? The file produced that way cannot be used as a tutorial, AFAIU, because Emacs doesn't let users specify the tutorial's file name. Users are supposed to save tutorial by killing the buffer or exiting Emacs, in which case Emacs saves the tutorial state as it should be. So my suggestion would be to modify tutorial--save-tutorial and tutorial--save-on-kill such that of tutorial--lang is nil, they will do nothing. Because there's no point of trying to save the tutorial in that case. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 26 08:11:23 2024 Received: (at 74364) by debbugs.gnu.org; 26 Nov 2024 13:11:23 +0000 Received: from localhost ([127.0.0.1]:48111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFvLe-0001Vk-TH for submit@debbugs.gnu.org; Tue, 26 Nov 2024 08:11:23 -0500 Received: from ledu-giraud.fr ([51.159.28.247]:13483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFvLb-0001VY-KX for 74364@debbugs.gnu.org; Tue, 26 Nov 2024 08:11:21 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=9NgwlIHj yysh7xhyIOzN9l0b9FzZ1aF2duNU+JesDHE=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=2PQOMP4RemuHxTwXawkpJqhTCxyHPz eQ0wXgPuQlTPNMCsuzJDhdPntmD/bldbU9s9d0dsl6AhWiFN6Ys19bDg== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=9NgwlIHjyysh7xhy IOzN9l0b9FzZ1aF2duNU+JesDHE=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=07GmDd3gt3fF88bB5QUC1Xdm9OmkeDKY8OetSG 565pij7B3NXA3fB9KvFQwPO1Kx0WIW1Z1A2zgRqygz2OmvJ+mz+7527XbPo/b3Ku/IgMCU 1BlVSavfiXG+330JapeKPqRI7fO8IDB1N1CXy3pRWkIgNf4XQNgLdOluTOD3NWwDWoQIQJ texRFg3KvvYiORUt+kDY7LBuB8KsNvrFrxrRG27dLHpkIEZfdi/fIPA7j41Az2vxG6mzQr VQNbG20X6xl5YZI92akIv21WtTq8XskVYQ8+pQd+RQ7pTN391b7WwmSxOYUwNN6FQPXuL8 0XM+PxPBC5nf5DvpybH+Hxyg== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id f25335c4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 26 Nov 2024 14:11:15 +0100 (CET) From: Manuel Giraud To: Tatsu Takamaro Subject: Re: bug#74364: Bug? In-Reply-To: (Tatsu Takamaro's message of "Tue, 26 Nov 2024 14:24:08 +0300") References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> <87iksb6see.fsf@ledu-giraud.fr> Date: Tue, 26 Nov 2024 14:11:15 +0100 Message-ID: <87ldx65edo.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tatsu Takamaro writes: >> This is indeed a bug but maybe saving the TUTORIAL buffer is not >> supported. Or we should remap `save-buffer' to save tutorial >> progression here? Please keep the bug tracker mail address in your replies. As a rule of thumb, you should always use =C2=AB=C2=A0Reply to all=C2=A0=C2=BB when inte= racting here. > Well, for I'm new to Emacs, I can't say what is better. I'm glad you > found the issue. Now it's up to you to decide what to do with it. I > can just mention that in the Tutorial text there is a "task" for a > reader to do C-x-s. An attentive and thorough learner, who does all > the "homework", would do that C-x-s and in some time he would want to > exit Emacs. Thus he would apparently face the bug. As I did. Thanks. I think I'll have to look into the tutorial to see how what is instructed there lead to this behaviour. Maybe it will give us a hint of what should be done. > Thank you for help and kindness! Emacs is great. The more I learn it > the more I see it. > > P.S. Remapping keys is a too difficult topic to learn though, there > are questions. I'll ask them a bit later. Of course but I thought more about a remapping that should be done by default in the tutorial. --=20 Manuel Giraud From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 26 13:43:10 2024 Received: (at 74364) by debbugs.gnu.org; 26 Nov 2024 18:43:10 +0000 Received: from localhost ([127.0.0.1]:52417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tG0Wj-0001RG-N9 for submit@debbugs.gnu.org; Tue, 26 Nov 2024 13:43:10 -0500 Received: from ledu-giraud.fr ([51.159.28.247]:20075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tG0Wh-0001R5-3D for 74364@debbugs.gnu.org; Tue, 26 Nov 2024 13:43:08 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=758aAW0P umTVgfID2zAkr+iNxx6ncTaJsgJKnhT63yw=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=I+rTGAiC6Qi9RV+9iB+NYL28eAN3qn kLSeOUDy20PCZAT7g+hH+5pLW7njtk6iG3EDC2cd8HPwd49+xfvx1rDg== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=758aAW0PumTVgfID 2zAkr+iNxx6ncTaJsgJKnhT63yw=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=h2BlFSbVeNco4QV6KXh4KvfayNs1VtzkBLLDoP tNdAgi8BTL3dhurQEPS6xlaJmTAt51aqgYzj8jhheNL/Vc495eH75H+s9bYBxAX+inmhEz iCbcddwMrKCKW8x+gIfGi91KpXmvWxhBi4iH2Q4+hrqjWfT2ui7aTmgOBvbV0HGWYNmwJZ st9hGH0CAC7SbZtI4buZfRI4zOmmdBhxTA0gUG1JfxpgYs4xeMC5cv1ErOJY3HYyzcfHLB L2p4n74oajOvKBoKeZ/8M6TsORZsMyUi07tdAQrxUkk9do8a/hNlWA6Jf2Rjxspz4JItD+ wKOnpJdFY5l6ut7BD/GDIYIQ== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 95955088 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 26 Nov 2024 19:43:06 +0100 (CET) From: Manuel Giraud To: Eli Zaretskii Subject: Re: bug#74364: Bug? In-Reply-To: <86seregnul.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 26 Nov 2024 14:51:14 +0200") References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> <87iksb6see.fsf@ledu-giraud.fr> <86seregnul.fsf@gnu.org> Date: Tue, 26 Nov 2024 19:43:04 +0100 Message-ID: <87mshl4z0n.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org, tatsu.takamaro@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Cc: 74364@debbugs.gnu.org >> Date: Mon, 25 Nov 2024 20:10:49 +0100 >> From: Manuel Giraud via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> Tatsu Takamaro writes: >> >> [...] >> >> Ok, now your recipe is more precise and I can reproduce it. >> >> > 3. Put some changes into the Tutorial. Say, just add a new line. >> > >> > 4. Press C-x-s to save. Emacs asks me to write a filename, I write >> > TUTORIAL, because the full path is alredy shown. Then Emacs asks me >> > whether I want to overwrite the file. I anser Yes (type y). >> >> After this 'C-x C-s', you have saved the content of the (modified) >> TUTORIAL into a file named "TUTORIAL" somewhere on your hard drive. >> Now, in this buffer, `tutorial--lang' is set to nil (which cause the >> error you saw) and Emacs still wants to save your progression in the >> tutorial and that's why it asks the question when you tried to quit. >> >> This is indeed a bug but maybe saving the TUTORIAL buffer is not >> supported. Or we should remap `save-buffer' to save tutorial >> progression here? > > Saving TUTORIAL is a strange thing to do. What is the purpose? The > file produced that way cannot be used as a tutorial, AFAIU, because > Emacs doesn't let users specify the tutorial's file name. It seems that at some point of the tutorial, the user is expected to do it. [...] > So my suggestion would be to modify tutorial--save-tutorial and > tutorial--save-on-kill such that of tutorial--lang is nil, they will > do nothing. Because there's no point of trying to save the tutorial > in that case. I could try to come up with a patch like this. -- Manuel Giraud From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 27 09:17:10 2024 Received: (at 74364) by debbugs.gnu.org; 27 Nov 2024 14:17:10 +0000 Received: from localhost ([127.0.0.1]:32849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGIqr-00086K-ND for submit@debbugs.gnu.org; Wed, 27 Nov 2024 09:17:10 -0500 Received: from mail-lj1-f177.google.com ([209.85.208.177]:55668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGIqo-00086C-VR for 74364@debbugs.gnu.org; Wed, 27 Nov 2024 09:17:08 -0500 Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2ffa678ddd2so59813851fa.3 for <74364@debbugs.gnu.org>; Wed, 27 Nov 2024 06:17:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732716966; x=1733321766; darn=debbugs.gnu.org; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=kBXINTseC7h8KZVHQ3osw2Ik5cr5BEl00/I0jtuuhgM=; b=ld3c9uF9xAT+jo7fgUNBG2Te4o6+ZRRNmlitcM8U3LQeH66A/OBX5xM2Q/an+JHrXL Oy1DX+jjVyj5oFi8uZDYgZUN0FsMLCc7h2ebYCXFSPUSzVp0u2YYg9mscfMDQGHyAiv2 SC4nGtg/i28zOU7qb7t/aLOg5mG45CLRRYNRc3qlwhHUGlXs0od+U8OwFhaTaTayyd4F 0FkfzKvrAKfcESnq0EghLAer6FNLRffZsxjMS6VtFGQZM7p8FiM/P9U9rK3eSl08FNjE XA1Y14KpaTJwSEuegN4D54TMSIyErUYapIs/yeuHVEs/MAvn0CHtxhl2C9Q39O00fUY9 Z3Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732716966; x=1733321766; h=in-reply-to:from:references:cc: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=kBXINTseC7h8KZVHQ3osw2Ik5cr5BEl00/I0jtuuhgM=; b=XSquebq7XeXIyzHFhjpsm6ElDjkI/kn0n9I8vaRky566U6M0r5iO1b6T8pZ901WNxw vf/dSRawVLPGBs6mUoVJe7tIGKhmmG8AmLjw9eZ8VoXUZHsa/PWY3dZhDCHnWlgGcjfQ V8kr+60usJopu/TZ/x0CaR0ztn1ZioTqLoStc/cefobrVP5g1RhcYmqcl/wnASfc7FRN ME+DBNV+K2GLKEFSBUtzRo38/5nbJgTB1kcwHX9hNLcOEJ51g5qnc67PbvaAsT4JE/R2 Usi7gYS1aZLEyHwh12bBAO6UiI8fFZI68O2eEBzU1UbdRp522VaUw7aWlSuO/T4AtE+B LRmg== X-Gm-Message-State: AOJu0YzGykgRzqDn+FCLA9hM1X9xIsIoTrjPQn1I0mVknRNrwb1yWReA NvPH9cZQVssJGlm86s5vbT+AjhmPIBmmugPi5IxaM8sp27wUqZ2V X-Gm-Gg: ASbGncvWXggGd4cCaUvD7Tec+M96CUahjtQTLU+wYbSnxKadvNPSUSh03dEV+TECcLi NOM3DpEn353Fx1UJZ0YRVUlqeYBLhFiG+jhuzm3ey/U2hcqA8+kttmj2KhLvb0dwymwCWx7D0/V l6ZcYuIrpJKpjXjGVbBeQFGqIfIUZM4sTA9/zDGnlg0JDGhnswN3uF1UiBDyZ3md3Nr60t9Xdnv WrWmPnJHW+C5kw1HTsgrENExeP8S0CV/qsNeABAEWXcFFLPPIEzcyEbkgW9thA/CxOHcBjLG0sF xvqQtjDvcx3FHPtb3BJNvLtEeWvoRut3PO8ajfg= X-Google-Smtp-Source: AGHT+IFi395k6umLnWeXrKtY/fayYfm7NbFgsXPQltsJBC1V3Jx2GUblRXeZbD16xVm/IZJQm1I71g== X-Received: by 2002:a2e:9a0a:0:b0:2ff:c422:c52 with SMTP id 38308e7fff4ca-2ffd60ecdf5mr16551811fa.39.1732716965495; Wed, 27 Nov 2024 06:16:05 -0800 (PST) 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 38308e7fff4ca-2ffab3c240esm19224351fa.107.2024.11.27.06.16.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Nov 2024 06:16:04 -0800 (PST) Content-Type: multipart/alternative; boundary="------------QY9zUc5k8EdwFTqkXonTi0NC" Message-ID: <06bfdebc-1dfb-bde2-f898-dc8f5cc36f87@gmail.com> Date: Wed, 27 Nov 2024 17:16:03 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: bug#74364: Bug? Content-Language: ru To: Manuel Giraud , Eli Zaretskii References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> <87iksb6see.fsf@ledu-giraud.fr> <86seregnul.fsf@gnu.org> <87mshl4z0n.fsf@ledu-giraud.fr> From: Tatsu Takamaro In-Reply-To: <87mshl4z0n.fsf@ledu-giraud.fr> X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) This is a multi-part message in MIME format. --------------QY9zUc5k8EdwFTqkXonTi0NC Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I never use (in other situations and letters) the Reply to all button, so I may sometimes forget to press it instead of a usual answer. Sorry. But I'm trying ^_^ >>Saving TUTORIAL is a strange thing to do. What is the purpose? I suppose there are two main reasons: 1. Correcting mistakes. Eg. I saw "vv" on a new line where it was not supposed to be. Or there was a mistake in a "homework" section in the command, I don't remember where exectly. 2. Making notes for oneself. To explain something better (more clear to an exact learner). *3. Or maybe even to argue. If I see some information which I completely disagree with, but I don't want to disturb the support team or waste time, I could just write a couple of sentences right in the Tutorial, kindof a comment, - and feel better ^_^ вт, 26.11.2024 21:43, Manuel Giraud пишет: > Eli Zaretskii writes: > >>> Cc:74364@debbugs.gnu.org >>> Date: Mon, 25 Nov 2024 20:10:49 +0100 >>> From: Manuel Giraud via "Bug reports for GNU Emacs, >>> the Swiss army knife of text editors" >>> >>> Tatsu Takamaro writes: >>> >>> [...] >>> >>> Ok, now your recipe is more precise and I can reproduce it. >>> >>>> 3. Put some changes into the Tutorial. Say, just add a new line. >>>> >>>> 4. Press C-x-s to save. Emacs asks me to write a filename, I write >>>> TUTORIAL, because the full path is alredy shown. Then Emacs asks me >>>> whether I want to overwrite the file. I anser Yes (type y). >>> After this 'C-x C-s', you have saved the content of the (modified) >>> TUTORIAL into a file named "TUTORIAL" somewhere on your hard drive. >>> Now, in this buffer, `tutorial--lang' is set to nil (which cause the >>> error you saw) and Emacs still wants to save your progression in the >>> tutorial and that's why it asks the question when you tried to quit. >>> >>> This is indeed a bug but maybe saving the TUTORIAL buffer is not >>> supported. Or we should remap `save-buffer' to save tutorial >>> progression here? >> Saving TUTORIAL is a strange thing to do. What is the purpose? The >> file produced that way cannot be used as a tutorial, AFAIU, because >> Emacs doesn't let users specify the tutorial's file name. > It seems that at some point of the tutorial, the user is expected to do > it. > > [...] > >> So my suggestion would be to modify tutorial--save-tutorial and >> tutorial--save-on-kill such that of tutorial--lang is nil, they will >> do nothing. Because there's no point of trying to save the tutorial >> in that case. > I could try to come up with a patch like this. --------------QY9zUc5k8EdwFTqkXonTi0NC Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

I never use (in other situations and letters) the Reply to all button, so I may sometimes forget to press it instead of a usual answer. Sorry. But I'm trying ^_^

>>Saving TUTORIAL is a strange thing to do. What is the purpose?

I suppose there are two main reasons:

1. Correcting mistakes. Eg. I saw "vv" on a new line where it was not supposed to be. Or there was a mistake in a "homework" section in the command, I don't remember where exectly.

2. Making notes for oneself. To explain something better (more clear to an exact learner).

*3. Or maybe even to argue. If I see some information which I completely disagree with, but I don't want to disturb the support team or waste time, I could just write a couple of sentences right in the Tutorial, kindof a comment, - and feel better ^_^


вт, 26.11.2024 21:43, Manuel Giraud пишет:
Eli Zaretskii <eliz@gnu.org> writes:

Cc: 74364@debbugs.gnu.org
Date: Mon, 25 Nov 2024 20:10:49 +0100
From:  Manuel Giraud via "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>

Tatsu Takamaro <tatsu.takamaro@gmail.com> writes:

[...]

Ok, now your recipe is more precise and I can reproduce it.

3. Put some changes into the Tutorial. Say, just add a new line.

4. Press C-x-s to save. Emacs asks me to write a filename, I write
TUTORIAL, because the full path is alredy shown. Then Emacs asks me
whether I want to overwrite the file. I anser Yes (type y).
After this 'C-x C-s', you have saved the content of the (modified)
TUTORIAL into a file named "TUTORIAL" somewhere on your hard drive.
Now, in this buffer, `tutorial--lang' is set to nil (which cause the
error you saw) and Emacs still wants to save your progression in the
tutorial and that's why it asks the question when you tried to quit.

This is indeed a bug but maybe saving the TUTORIAL buffer is not
supported.  Or we should remap `save-buffer' to save tutorial
progression here?
Saving TUTORIAL is a strange thing to do.  What is the purpose?  The
file produced that way cannot be used as a tutorial, AFAIU, because
Emacs doesn't let users specify the tutorial's file name.
It seems that at some point of the tutorial, the user is expected to do
it.

[...]

So my suggestion would be to modify tutorial--save-tutorial and
tutorial--save-on-kill such that of tutorial--lang is nil, they will
do nothing.  Because there's no point of trying to save the tutorial
in that case.
I could try to come up with a patch like this.
--------------QY9zUc5k8EdwFTqkXonTi0NC-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 27 09:18:57 2024 Received: (at 74364) by debbugs.gnu.org; 27 Nov 2024 14:18:57 +0000 Received: from localhost ([127.0.0.1]:32858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGIsb-00089D-4U for submit@debbugs.gnu.org; Wed, 27 Nov 2024 09:18:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGIsZ-00088y-AU for 74364@debbugs.gnu.org; Wed, 27 Nov 2024 09:18:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGIsT-0006mS-JD; Wed, 27 Nov 2024 09:18:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=qpHQJxJhOT0TpoefoYkCcps2tD+FDwqXunxFf89jr7o=; b=Nq0KCeN/fc/b ciG8GnorZVjQ00dZjYN/O01iBA3AaERV1sronayhg4CtPrMpFnMg22K8xbmX2VZvBDbk3yaD2c+tp xtmanoH5Z4NaQ6DUgkFNr8+cE8NfrmQEEATBoJQJ7QHLgT1tV0ZawBrGyxlC/ljE71NEEw5csL9y9 nyGoh5qdh8+f40ue+AN4F7UPfUIqriNsXjXT4f16zEcrgbzgsZDI01MhzmNBFO5SYi10sOMGE3VcH z49RvUO5yG8kNwXZwxEhExbmvaJIE3sMbFaeE9hrqdKNuGDVWkXoDwCIw5FycKq/xD9ugoLj+rt20 nfdM7odj2kaVhe7bpuCfPg==; Date: Wed, 27 Nov 2024 16:18:42 +0200 Message-Id: <86ttbsg3p9.fsf@gnu.org> From: Eli Zaretskii To: Manuel Giraud In-Reply-To: <87mshl4z0n.fsf@ledu-giraud.fr> (message from Manuel Giraud on Tue, 26 Nov 2024 19:43:04 +0100) Subject: Re: bug#74364: Bug? References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> <87iksb6see.fsf@ledu-giraud.fr> <86seregnul.fsf@gnu.org> <87mshl4z0n.fsf@ledu-giraud.fr> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org, tatsu.takamaro@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Manuel Giraud > Cc: tatsu.takamaro@gmail.com, 74364@debbugs.gnu.org > Date: Tue, 26 Nov 2024 19:43:04 +0100 > > Eli Zaretskii writes: > > > So my suggestion would be to modify tutorial--save-tutorial and > > tutorial--save-on-kill such that of tutorial--lang is nil, they will > > do nothing. Because there's no point of trying to save the tutorial > > in that case. > > I could try to come up with a patch like this. Please do, and thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 29 10:47:02 2024 Received: (at 74364) by debbugs.gnu.org; 29 Nov 2024 15:47:02 +0000 Received: from localhost ([127.0.0.1]:44120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH3Cw-0007i2-12 for submit@debbugs.gnu.org; Fri, 29 Nov 2024 10:47:02 -0500 Received: from ledu-giraud.fr ([51.159.28.247]:22331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH3Cs-0007hm-IB for 74364@debbugs.gnu.org; Fri, 29 Nov 2024 10:47:00 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=x0T/XNdS lqcvaEPQqFuryaykqM2Sddx8Qe2TEjw6pU4=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=0DwdV5CKyiPCf9oueSY9lK+vX+2lnH 0IvngGzg/t/KN7bAbuldCQE7EAdN1w4YzWvDr/fafUnFEB7ygSt73AAA== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=x0T/XNdSlqcvaEPQ qFuryaykqM2Sddx8Qe2TEjw6pU4=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=uhR1hArk+1DD0XKooLTIk8sPoprVpp20wRsULH MXeB48/ipr0pDK2Pyefz82qvGp/mKvuIu1lHrGwuHZenv8mfXso9pBXdAFTBv2wZsc1C6T Wi7fQB8jNLhpfTtynW/g09a1C6t+smWkMxXozu45bdkrzkso/TFc9CYw0oX9XFi9CNXNrn 8s7UkvU2gQdkBHyeGKYXN3oe25ZGp2mdICDoPSGrFEtx8vkxfoHWPA2mgReKSsuq/B88K4 +1YuvnATE5Qa/2AgWS99O2c/aGmx8KA85suOeCiteSX6ch7+pKVBk0zVzCbKhOTMKxo+Eg BRjv3Y84Li0OHsZnDWfCawCQ== Received: from computer (2630.fr [82.65.148.221]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id e5172b2f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 29 Nov 2024 16:46:56 +0100 (CET) From: Manuel Giraud To: Eli Zaretskii Subject: Re: bug#74364: Bug? In-Reply-To: <86ttbsg3p9.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 27 Nov 2024 16:18:42 +0200") References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> <87iksb6see.fsf@ledu-giraud.fr> <86seregnul.fsf@gnu.org> <87mshl4z0n.fsf@ledu-giraud.fr> <86ttbsg3p9.fsf@gnu.org> Date: Fri, 29 Nov 2024 16:46:55 +0100 Message-ID: <87o71ycaa8.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org, tatsu.takamaro@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> From: Manuel Giraud >> Cc: tatsu.takamaro@gmail.com, 74364@debbugs.gnu.org >> Date: Tue, 26 Nov 2024 19:43:04 +0100 >> >> Eli Zaretskii writes: >> >> > So my suggestion would be to modify tutorial--save-tutorial and >> > tutorial--save-on-kill such that of tutorial--lang is nil, they will >> > do nothing. Because there's no point of trying to save the tutorial >> > in that case. >> >> I could try to come up with a patch like this. > > Please do, and thanks. What about this? I have mimic it after your patch dec2ac0c657. I've tested it lightly and it seems to work as expected: - The user can save the TUTORIAL to a file - Trying to kill Emacs will ask if the user wants to save his progression. - The progression is correctly saved. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-exiting-Emacs-after-saving-a-tutorial.patch >From 407fbd578a171dbd746d6ee62d8c1e40c772978e Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Fri, 29 Nov 2024 16:35:47 +0100 Subject: [PATCH] Fix exiting Emacs after saving a tutorial * lisp/tutorial.el (tutorial--lang) (tutorial--point-before-chkeys): Add both variables as permanent-local, so that saving the tutorial to some file doesn't kill these buffer-local variables. Otherwise, trying to exit Emacs after saving the tutorial will signal an error, because 'tutorial--lang' is nil. (Bug#74364) --- lisp/tutorial.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/tutorial.el b/lisp/tutorial.el index d754db238de..86537d995fe 100644 --- a/lisp/tutorial.el +++ b/lisp/tutorial.el @@ -650,7 +650,12 @@ tutorial--remove-remarks (delete-region prop-start prop-end)))))) (defvar tutorial--starting-point) + +;; For when the user saves the TUTORIAL to a file. (put 'tutorial--starting-point 'permanent-local t) +(put 'tutorial--lang 'permanent-local t) +(put 'tutorial--point-before-chkeys 'permanent-local t) + (defun tutorial--save-on-kill () "Query the user about saving the tutorial when killing Emacs." (when (buffer-live-p tutorial--buffer) -- 2.47.0 --=-=-= Content-Type: text/plain -- Manuel Giraud --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 30 06:05:27 2024 Received: (at 74364) by debbugs.gnu.org; 30 Nov 2024 11:05:27 +0000 Received: from localhost ([127.0.0.1]:45693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHLHz-0002DK-2X for submit@debbugs.gnu.org; Sat, 30 Nov 2024 06:05:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHLHx-0002D5-EX for 74364@debbugs.gnu.org; Sat, 30 Nov 2024 06:05:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHLHo-0005QO-J0; Sat, 30 Nov 2024 06:05:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PaLWWBNq92AROF9rp4zKBV8HZnpBGUM9nUSTvL46A5w=; b=TLwD52qu6aDK BbG+GKasPqCS343Z8fMNsraSko6l56GmliVbNNCW4eXUpfATwyyXdJw+Locx/FYURTrjdiQONay9v l2TS8qYkzeV2UNjwwn5vtFGr0AhOSIOuO3TqEV2f/eQl927PSJGAkriHrRFai0XnbCej/WyV709Y7 KMswkTlzqdAh24e8EHbnIXb7R8humV2mPpD/o9M0huFSU9q6gsfLWU0T10/3Eu9PZ6SmoClTCLzai s13j1/hY8VojOZQxZaRkJNPEMUzT92RbpiCDKO8RCb2C4Ir6hsxzdYb4RZ8mqUD8h0JwVn4KC0YW2 WYe9E+p/sE2sX68a/QYxog==; Date: Sat, 30 Nov 2024 13:05:12 +0200 Message-Id: <861pyt7ziv.fsf@gnu.org> From: Eli Zaretskii To: Manuel Giraud In-Reply-To: <87o71ycaa8.fsf@ledu-giraud.fr> (message from Manuel Giraud on Fri, 29 Nov 2024 16:46:55 +0100) Subject: Re: bug#74364: Bug? References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> <87iksb6see.fsf@ledu-giraud.fr> <86seregnul.fsf@gnu.org> <87mshl4z0n.fsf@ledu-giraud.fr> <86ttbsg3p9.fsf@gnu.org> <87o71ycaa8.fsf@ledu-giraud.fr> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org, tatsu.takamaro@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Manuel Giraud > Cc: tatsu.takamaro@gmail.com, 74364@debbugs.gnu.org > Date: Fri, 29 Nov 2024 16:46:55 +0100 > > What about this? I have mimic it after your patch dec2ac0c657. I've > tested it lightly and it seems to work as expected: > > - The user can save the TUTORIAL to a file > > - Trying to kill Emacs will ask if the user wants to > save his progression. > > - The progression is correctly saved. Fine by me, please install on master, and thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 30 09:44:35 2024 Received: (at 74364) by debbugs.gnu.org; 30 Nov 2024 14:44:35 +0000 Received: from localhost ([127.0.0.1]:46041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHOi3-0005ER-Ck for submit@debbugs.gnu.org; Sat, 30 Nov 2024 09:44:35 -0500 Received: from ledu-giraud.fr ([51.159.28.247]:45763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHOi0-0005EG-Sf for 74364@debbugs.gnu.org; Sat, 30 Nov 2024 09:44:34 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=XxLHOnHs eN+osI9ua6R7LySowz5YsSqN8VntoR8JLmc=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=fjSa5YnvtEJNR868BEwcwz6q7Q/FZ8 bMFmPav6sn7DyUjFECInP4O3mTji2PVnzWwo4R+YvZIZWrvgHMXVlcAw== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=XxLHOnHseN+osI9u a6R7LySowz5YsSqN8VntoR8JLmc=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=i0+RDgTwN4zJ7PuW38s8IoC8YuL1isBpmhtozA Pfoh7PTW7jfsW53QGevm/gaxT9/rDgALo6eVYnP0K7Sp04OFdbiUMEWLDjO7QTM42R0ie8 YD7yRltp4gJ2Z+Fnan+YB+T+Rut6X0n8JLYKTmIV9BNSVnm3nMfqn/zQzsmZSSwuNEoRVA gjUKjI9u9P9cXmZ4AkQcUDRrYh9a/HP7++/+7yf4qolWN1CM0SbWiwQaKcSEyKed8NI4X+ i9C4Btxz9PsNwrj8lwIfqvNqIM82dMdlaCWZamueyJFyehjqB6Ba40AcdDy+uxDGSpdXjj 2ltQeD7/euXagewRPxzwYf4A== Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id d84c6378 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 30 Nov 2024 15:44:31 +0100 (CET) From: Manuel Giraud To: Eli Zaretskii Subject: Re: bug#74364: Bug? In-Reply-To: <861pyt7ziv.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Nov 2024 13:05:12 +0200") References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> <87iksb6see.fsf@ledu-giraud.fr> <86seregnul.fsf@gnu.org> <87mshl4z0n.fsf@ledu-giraud.fr> <86ttbsg3p9.fsf@gnu.org> <87o71ycaa8.fsf@ledu-giraud.fr> <861pyt7ziv.fsf@gnu.org> Date: Sat, 30 Nov 2024 15:44:29 +0100 Message-ID: <8734j8aiia.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74364 Cc: 74364@debbugs.gnu.org, tatsu.takamaro@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Manuel Giraud >> Cc: tatsu.takamaro@gmail.com, 74364@debbugs.gnu.org >> Date: Fri, 29 Nov 2024 16:46:55 +0100 >> >> What about this? I have mimic it after your patch dec2ac0c657. I've >> tested it lightly and it seems to work as expected: >> >> - The user can save the TUTORIAL to a file >> >> - Trying to kill Emacs will ask if the user wants to >> save his progression. >> >> - The progression is correctly saved. > > Fine by me, please install on master, and thanks. Ok but I don't have permissions to commit. -- Manuel Giraud From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 30 10:38:04 2024 Received: (at 74364-done) by debbugs.gnu.org; 30 Nov 2024 15:38:04 +0000 Received: from localhost ([127.0.0.1]:48320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHPXo-00009F-60 for submit@debbugs.gnu.org; Sat, 30 Nov 2024 10:38:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHPXl-00008a-UU for 74364-done@debbugs.gnu.org; Sat, 30 Nov 2024 10:38:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHPXg-0000z7-Ck; Sat, 30 Nov 2024 10:37:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=YPvBHqDwHs+QDz1B3/wWW5w3GrAuhK7QeZA4zVjfB+0=; b=TwokvxgrNCQ+ tgdGPGvFxa6St7pqECytq0pfaxcaWQbIUNFFJfbi0P5CudKixSicBf0JrWPvsEWGWr/N8/i4F7eEV FW623q1kI/qR65o1bdaM49QjqTD+aTLYIMgK0WST6somXlywthW+lhO5FmDBAEydsAx6uwuyLACMG 6cKDigo+EUkBgGdDZvIZJYiQKZMOuQCKqdvWTCiC+7RkXCaf+f+rfo9fZaF3zHLdiwssOH9CO7VWU bL7i6zG+P5AC9jyLXLPX1VKvFu3aatAS9rb70JMfMHcTXmZokIgIhk9STiREERXmyiQuJdwume1gO IeOPDpe5aU2QWAxmUTIwMg==; Date: Sat, 30 Nov 2024 17:37:49 +0200 Message-Id: <86frn87mwi.fsf@gnu.org> From: Eli Zaretskii To: Manuel Giraud In-Reply-To: <8734j8aiia.fsf@ledu-giraud.fr> (message from Manuel Giraud on Sat, 30 Nov 2024 15:44:29 +0100) Subject: Re: bug#74364: Bug? References: <17252c4c-d318-9202-01a3-562d0d057bbe@gmail.com> <8734jtvub4.fsf@ledu-giraud.fr> <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com> <87bjyc29ht.fsf@ledu-giraud.fr> <615dc98b-7d7e-67f2-f57d-f75f4de6c661@gmail.com> <87h683qp3r.fsf@ledu-giraud.fr> <654bc467-2f59-b585-eb4c-6f69344bd5a8@gmail.com> <87wmgu8brh.fsf@ledu-giraud.fr> <87iksb6see.fsf@ledu-giraud.fr> <86seregnul.fsf@gnu.org> <87mshl4z0n.fsf@ledu-giraud.fr> <86ttbsg3p9.fsf@gnu.org> <87o71ycaa8.fsf@ledu-giraud.fr> <861pyt7ziv.fsf@gnu.org> <8734j8aiia.fsf@ledu-giraud.fr> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74364-done Cc: 74364-done@debbugs.gnu.org, tatsu.takamaro@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Manuel Giraud > Cc: tatsu.takamaro@gmail.com, 74364@debbugs.gnu.org > Date: Sat, 30 Nov 2024 15:44:29 +0100 > > Eli Zaretskii writes: > > >> From: Manuel Giraud > >> Cc: tatsu.takamaro@gmail.com, 74364@debbugs.gnu.org > >> Date: Fri, 29 Nov 2024 16:46:55 +0100 > >> > >> What about this? I have mimic it after your patch dec2ac0c657. I've > >> tested it lightly and it seems to work as expected: > >> > >> - The user can save the TUTORIAL to a file > >> > >> - Trying to kill Emacs will ask if the user wants to > >> save his progression. > >> > >> - The progression is correctly saved. > > > > Fine by me, please install on master, and thanks. > > Ok but I don't have permissions to commit. Thanks, installed on master, and closing the bug. From unknown Tue Aug 19 10:02:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 29 Dec 2024 12:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator