[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help: how to load existing file after upgrading to Emacs 29.1 from 2
From: |
Globe Trotter |
Subject: |
Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt |
Date: |
Sun, 12 Nov 2023 21:07:31 +0000 (UTC) |
On Sunday, November 12, 2023 at 12:48:14 PM CST, Manuel Giraud via Users list
for the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
Globe Trotter <itsme_410@yahoo.com> writes:
> Thanks for this! However, for me, it has no effect. Indeed, removing
> the local .emacs and .emacs.d did not change the behaviour at all.
This is strange because it worked with "emacs -Q", right? Could you try
this:
$ emacs --no-site-file test.txt
--
Manuel Giraud
Thank you for this! I do get a split window, one with the file (with no
customizations) and the other with Warnings:
Warning (initialization): An error occurred while loading ‘/home/gt/.emacs’:
Symbol's function definition is void: ac-config-default
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.
OK, let me try:
$ emacs --no-site-file --debug-init test.txt
First window has the file.In the second window, I get:
Debugger entered--Lisp error: (void-function ac-config-default)
(ac-config-default)
load-with-code-conversion("/home/gt/.emacs" "/home/gt/.emacs" t t)
load("~/.emacs" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode
-0x1810ee4c1b34cb8>) #f(compiled-function () #<bytecode -0x1f3c61addc0b39f5>) t)
command-line()
normal-top-level()
OK, remove the line
(ac-config-default)
and the line
with ess-mode-map
$ emacs --no-site-file --debug-init test.txt
opens in one window, as with -Q.
Howver, not
$ emacs test.txt
(crickets, nothing in the emacs window).
All right, lets remove the .emacs file completely:
$ emacs test.txt
(crickets, nothing in the emacs window). ie Same as before.
$ emacs --no-site-file test.txt
I get a split window and have the emacs splash screen in the second window. The
first window has the file.
Thanks again for your help!
GT
- help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Globe Trotter, 2023/11/12
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Manuel Giraud, 2023/11/12
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Eli Zaretskii, 2023/11/12
- Message not available
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Globe Trotter, 2023/11/12
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Globe Trotter, 2023/11/12
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Manuel Giraud, 2023/11/12
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Globe Trotter, 2023/11/12
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Manuel Giraud, 2023/11/12
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt,
Globe Trotter <=
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Manuel Giraud, 2023/11/13
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Globe Trotter, 2023/11/13
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Manuel Giraud, 2023/11/13
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Globe Trotter, 2023/11/13
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Manuel Giraud, 2023/11/14
- Message not available
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Globe Trotter, 2023/11/14
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Manuel Giraud, 2023/11/14
- Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt, Globe Trotter, 2023/11/14