unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tatsu Takamaro <tatsu.takamaro@gmail.com>
To: Manuel Giraud <manuel@ledu-giraud.fr>
Cc: 74364@debbugs.gnu.org
Subject: bug#74364: Bug?
Date: Mon, 25 Nov 2024 11:21:45 +0300	[thread overview]
Message-ID: <d3a60dbc-e773-e7e8-ecea-0be14839f3de@gmail.com> (raw)
In-Reply-To: <87wmgu8brh.fsf@ledu-giraud.fr>

[-- Attachment #1: Type: text/plain, Size: 1942 bytes --]

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).

[-- Attachment #2: Type: text/html, Size: 3274 bytes --]

  reply	other threads:[~2024-11-25  8:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-15  4:53 bug#74364: Bug? Tatsu Takamaro
2024-11-15  7:18 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]   ` <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com>
2024-11-18  9:10     ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-19  8:50       ` Tatsu Takamaro
2024-11-19 14:23         ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-23  6:44           ` Tatsu Takamaro
2024-11-23 10:50             ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-25  8:21               ` Tatsu Takamaro [this message]
2024-11-25 19:10                 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-26 12:51                   ` Eli Zaretskii
2024-11-26 18:43                     ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]                   ` <ab77c50d-6db1-b143-78cf-191c19585280@gmail.com>
2024-11-26 13:11                     ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d3a60dbc-e773-e7e8-ecea-0be14839f3de@gmail.com \
    --to=tatsu.takamaro@gmail.com \
    --cc=74364@debbugs.gnu.org \
    --cc=manuel@ledu-giraud.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).