all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Globe Trotter <itsme_410@yahoo.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
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)	[thread overview]
Message-ID: <1304780164.768564.1699823251569@mail.yahoo.com> (raw)
In-Reply-To: <87r0kuzu4a.fsf@ledu-giraud.fr>

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



  reply	other threads:[~2023-11-12 21:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1741095947.686890.1699803039311.ref@mail.yahoo.com>
2023-11-12 15:30 ` 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 16:44   ` Manuel Giraud via Users list for the GNU Emacs text editor
2023-11-12 16:44   ` Eli Zaretskii
     [not found]     ` <878765838.2608508.1699810245902@mail.yahoo.com>
2023-11-12 17:39       ` Globe Trotter
2023-11-12 18:05         ` Globe Trotter
2023-11-12 18:22         ` Manuel Giraud via Users list for the GNU Emacs text editor
2023-11-12 18:32           ` Globe Trotter
2023-11-12 18:47             ` Manuel Giraud via Users list for the GNU Emacs text editor
2023-11-12 21:07               ` Globe Trotter [this message]
2023-11-13  9:57                 ` Manuel Giraud via Users list for the GNU Emacs text editor
2023-11-13 12:39                   ` Globe Trotter
2023-11-13 17:15                     ` Manuel Giraud via Users list for the GNU Emacs text editor
2023-11-13 22:10                       ` Globe Trotter
2023-11-14  8:26                         ` Manuel Giraud via Users list for the GNU Emacs text editor
     [not found]                           ` <2043704325.3413213.1699966770466@mail.yahoo.com>
2023-11-14 13:00                             ` Globe Trotter
2023-11-14 13:19                               ` Manuel Giraud via Users list for the GNU Emacs text editor
2023-11-14 14:10                                 ` Globe Trotter

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

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

  git send-email \
    --in-reply-to=1304780164.768564.1699823251569@mail.yahoo.com \
    --to=itsme_410@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.