unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Elrod, David" <elrodd@sharplabs.com>
To: Glenn Morris <rgm@gnu.org>
Cc: "14250@debbugs.gnu.org" <14250@debbugs.gnu.org>
Subject: bug#14250: 23.1; Files locked by myself
Date: Wed, 19 Jun 2013 23:31:00 +0000	[thread overview]
Message-ID: <17E84D662FD8204FB8C0E82A88F931755F8EB63A@wabexchp1.sharpamericas.com> (raw)
In-Reply-To: <8pppvhpv95.fsf_-_@fencepost.gnu.org>

  M-: (file-locked-p (buffer-file-name))
returns
  "elrodd@elroddDesk"

  M-: (system-name)
returns
  "elroddDesk@enet.sharplabs.com"

  % ls -ld /tmp/.*
the interesting bit is:
  lrwxrwxrwx.  1 elrodd elrodd    53 Jun 19 16:23 /tmp/.#FOO -> elrodd@elroddDesk@enet.sharplabs.com.24745:1370987766

% ps -p 24745
  PID TTY          TIME CMD
24745 pts/1    00:00:01 emacs

% ps aux | head -1 ; ps aux | grep emacs
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
elrodd   24745  0.0  0.3 313904 29432 pts/1    S    15:59   0:01 emacs /tmp/FOO


I really appreciate your help!
David




________________________________________
From: Glenn Morris [rgm@gnu.org]
Sent: Wednesday, June 19, 2013 15:53
To: Elrod, David
Cc: 14250@debbugs.gnu.org
Subject: Re: bug#14250: 23.1; Files locked by myself

"Elrod, David" wrote:

> My fault for not doing "reply all"...
>
> Typing:
>     ^Mx(file-locked-p

You said:

>  When I do:  M-:
>  the mini-buffer responds with "Eval: "
>
>  I then entered:
>     (file-locked-p(overview.html))

So oviously you know about M-:. Use:

  M-: (file-locked-p (buffer-file-name)) RET

(Though I have no idea what this is supposed to tell us.)


Also, what does:

M-: (system-name) RET

return?


>  Each time I try to save It shows:
>    /tmp/FOO locked by elrodd <at> elrodd... (pid 21418): (s, q, p, ?)?
>  or similar in the status bar.

At this point, what do the following show:

ls -ld /tmp/.*
ps -p 21418    # replace with number from above
ps -u elrodd | grep emacs



But again, simply compiling your own Emacs 24.3 may be easier.





  reply	other threads:[~2013-06-19 23:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23 19:55 bug#14250: 23.1; Files locked by myself Elrod, David
2013-04-23 20:23 ` Andreas Schwab
2013-04-30 19:16   ` Glenn Morris
     [not found]   ` <17E84D662FD8204FB8C0E82A88F93175376D5A80@wabexchp1.sharpamericas.com>
2013-06-19 21:57     ` bug#14250: FW: " Elrod, David
2013-06-19 22:29       ` Glenn Morris
2013-06-19 22:36         ` Glenn Morris
2013-06-19 22:49           ` Elrod, David
2013-06-19 22:55             ` Glenn Morris
2013-06-20  0:40               ` Elrod, David
2013-06-19 22:39         ` bug#14250: FW: " Elrod, David
2013-06-19 22:53           ` Glenn Morris
2013-06-19 23:31             ` Elrod, David [this message]
2013-06-20  6:47               ` Glenn Morris
2013-06-20 15:54                 ` Elrod, David
2013-06-20 16:31                 ` Glenn Morris
2022-04-25  8:47                   ` bug#14250: file locking fails if the hostname contains an @ character Lars Ingebrigtsen

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=17E84D662FD8204FB8C0E82A88F931755F8EB63A@wabexchp1.sharpamericas.com \
    --to=elrodd@sharplabs.com \
    --cc=14250@debbugs.gnu.org \
    --cc=rgm@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 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).