all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Tomasz Kowalski <T.Kowalski@latrobe.edu.au>
Cc: 42827@debbugs.gnu.org
Subject: bug#42827: 27.1; ~/Emacs file not read at init
Date: Wed, 12 Aug 2020 15:21:34 +0200	[thread overview]
Message-ID: <m21rkcj8yp.fsf@gmail.com> (raw)
In-Reply-To: <m25z9oj9jq.fsf@gmail.com> (Robert Pluim's message of "Wed, 12 Aug 2020 15:08:57 +0200")


    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");
     }
 
   return db;





  reply	other threads:[~2020-08-12 13:21 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 [this message]
2020-08-12 14:38     ` Andreas Schwab
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

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

  git send-email \
    --in-reply-to=m21rkcj8yp.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=42827@debbugs.gnu.org \
    --cc=T.Kowalski@latrobe.edu.au \
    /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.