[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42827: 27.1; ~/Emacs file not read at init
From: |
Andreas Schwab |
Subject: |
bug#42827: 27.1; ~/Emacs file not read at init |
Date: |
Wed, 12 Aug 2020 16:38:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
On Aug 12 2020, Robert Pluim wrote:
> Tomasz> Forgotten / somewhere?
>
> Robert> Hmm. Any chance of catching that in gdb so we can see where itʼs
> being
> Robert> called from?
>
> Completely WAG:
>
> diff --git a/src/xrdb.c b/src/xrdb.c
> index e3a1fcb15a..3d7f715c88 100644
> --- a/src/xrdb.c
> +++ b/src/xrdb.c
> @@ -289,9 +289,9 @@ get_user_app (const char *class)
> /* Check in the home directory. This is a bit of a hack; let's
> hope one's home directory doesn't contain ':' or '%'. */
> char const *home = get_homedir ();
> - db = search_magic_path (home, class, "%L/%N");
> + db = search_magic_path (home, class, "/%L/%N");
> if (! db)
> - db = search_magic_path (home, class, "%N");
> + db = search_magic_path (home, class, "/%N");
> }
Looks like the bug was added in commit 900276502f.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
bug#42827: 27.1; ~/Emacs file not read at init, Lars Ingebrigtsen, 2020/08/12
Message not available
bug#42827: 27.1; ~/Emacs file not read at init, Paul Eggert, 2020/08/17