unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: Tomasz Kowalski <T.Kowalski@latrobe.edu.au>, 42827@debbugs.gnu.org
Subject: bug#42827: 27.1; ~/Emacs file not read at init
Date: Wed, 12 Aug 2020 16:38:18 +0200	[thread overview]
Message-ID: <878sekylnp.fsf@igel.home> (raw)
In-Reply-To: <m21rkcj8yp.fsf@gmail.com> (Robert Pluim's message of "Wed, 12 Aug 2020 15:21:34 +0200")

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





  reply	other threads:[~2020-08-12 14:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-12 12:05 bug#42827: 27.1; ~/Emacs file not read at init Tomasz Kowalski
2020-08-12 13:08 ` Robert Pluim
2020-08-12 13:21   ` Robert Pluim
2020-08-12 14:38     ` Andreas Schwab [this message]
2020-08-12 16:08       ` Robert Pluim
2020-08-12 16:25         ` Eli Zaretskii
2020-08-12 13:16 ` Lars Ingebrigtsen
     [not found] ` <mailman.1695.1597235644.2739.bug-gnu-emacs@gnu.org>
2020-08-12 14:26   ` Alan Mackenzie
2020-08-12 16:06     ` Robert Pluim
2020-08-17  4:45 ` Paul Eggert

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=878sekylnp.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=42827@debbugs.gnu.org \
    --cc=T.Kowalski@latrobe.edu.au \
    --cc=rpluim@gmail.com \
    /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).