all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: wgreenhouse-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org (W. Greenhouse)
To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org
Subject: Re: Server issues
Date: Thu, 21 Mar 2013 22:01:08 +0000	[thread overview]
Message-ID: <87zjxw2z17.fsf@riseup.net> (raw)
In-Reply-To: 514ab9ab$0$37943$862e30e2@ngroups.net

Hi Miguel,

> I was secretly hoping someone would say that as it means it can be fixed 
> without having to look (too deeply) under the hood! I would imagine 
> something in my emacs conf files are loading is causing this issue 
> perhaps by interfering with the code in server.el .  
>
> Do you (or anyone else!) know how I could go about diagnosing this?
>
> Many thanks for you reply.
>
>
> * BTW, also using GNU Emacs 24.2.1

Where in the process of raising an emacsclient and using TRAMP to access
a file via su do things go wrong for you?  Is Emacs itself still able to
access /su::/path type filenames, or is that broken, too?

M-x toggle-debug-on-error does work for diagnosing many server errors,
so try that at first.  Next, the usual litany of the Emacs process of
elimination: try connecting to an Emacs server which was initialized
with emacs -q (skipping your own init file), and if that still has
trouble, escalate to emacs -Q (skipping the distro/site-wide init files
too).

FWIW, some of the most irritating and hard-to-diagnose emacsclient
invocation problems I've had have had to do with the behavior of the
*shell* rather than of Emacs (i.e. the shell interpreting things when we
want it to just pass the args to Emacs).  So experiment with different
shell quoting strategies too, especially if you are calling this inside
a shell script.

I noticed also in this list that you were writing some code to warn on
the modeline when su-editing a file; I don't see how that might've
contributed to your troubles, but maybe...

Sorry this is such general advice, but I can't think of much else that's
special about the su backend to Tramp.

Best,
Will

-- 
BOFH excuse #289:

Interference between the keyboard and the chair.




      reply	other threads:[~2013-03-21 22:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20 13:38 Server issues Miguel Guedes
2013-03-20 20:52 ` W. Greenhouse
     [not found] ` <mailman.22553.1363812776.855.help-gnu-emacs@gnu.org>
2013-03-21  7:41   ` Miguel Guedes
2013-03-21 22:01     ` W. Greenhouse [this message]

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=87zjxw2z17.fsf@riseup.net \
    --to=wgreenhouse-sgozh3hwpm2stnjn9+bgxg@public.gmane.org \
    --cc=help-gnu-emacs-mXXj517/zsQ@public.gmane.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.