* bug#74364: Bug? @ 2024-11-15 4:53 Tatsu Takamaro 2024-11-15 7:18 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 7+ messages in thread From: Tatsu Takamaro @ 2024-11-15 4:53 UTC (permalink / raw) To: 74364 [-- Attachment #1: Type: text/plain, Size: 989 bytes --] 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. [-- Attachment #2: Type: text/html, Size: 1383 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#74364: Bug? 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> 0 siblings, 1 reply; 7+ messages in thread From: Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-15 7:18 UTC (permalink / raw) To: Tatsu Takamaro; +Cc: 74364 Tatsu Takamaro <tatsu.takamaro@gmail.com> 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <3ffa9049-44a1-8a88-69aa-6a7b1d5dabee@gmail.com>]
* bug#74364: Bug? [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 0 siblings, 1 reply; 7+ messages in thread From: Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-18 9:10 UTC (permalink / raw) To: Tatsu Takamaro; +Cc: 74364 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? -- Manuel Giraud ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#74364: Bug? 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 0 siblings, 1 reply; 7+ messages in thread From: Tatsu Takamaro @ 2024-11-19 8:50 UTC (permalink / raw) To: Manuel Giraud; +Cc: 74364 [-- Attachment #1: Type: text/plain, Size: 625 bytes --] 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? [-- Attachment #2: Type: text/html, Size: 1340 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#74364: Bug? 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 0 siblings, 1 reply; 7+ messages in thread From: Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-19 14:23 UTC (permalink / raw) To: Tatsu Takamaro; +Cc: 74364 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)"? -- Manuel Giraud ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#74364: Bug? 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 0 siblings, 1 reply; 7+ messages in thread From: Tatsu Takamaro @ 2024-11-23 6:44 UTC (permalink / raw) To: Manuel Giraud; +Cc: 74364 [-- Attachment #1: Type: text/plain, Size: 829 bytes --] 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)"? [-- Attachment #2: Type: text/html, Size: 1555 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#74364: Bug? 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 0 siblings, 0 replies; 7+ messages in thread From: Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-23 10:50 UTC (permalink / raw) To: Tatsu Takamaro; +Cc: 74364 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). -- Manuel Giraud ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-11-23 10:50 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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
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).