From debbugs-submit-bounces@debbugs.gnu.org Sun May 09 13:52:50 2010 Received: (at submit) by debbugs.gnu.org; 9 May 2010 17:52:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBAgL-00052b-L1 for submit@debbugs.gnu.org; Sun, 09 May 2010 13:52:50 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBAgJ-00052V-De for submit@debbugs.gnu.org; Sun, 09 May 2010 13:52:48 -0400 Received: from lists.gnu.org ([199.232.76.165]:52030) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OBAgE-0002AV-Ru for submit@debbugs.gnu.org; Sun, 09 May 2010 13:52:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OBAgE-00051e-94 for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 13:52:42 -0400 Received: from [140.186.70.92] (port=38590 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBAgC-000500-Qq for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 13:52:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBAgA-0001Hv-KP for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 13:52:40 -0400 Received: from exprod7og118.obsmtp.com ([64.18.2.8]:37133) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OBAgA-0001Gc-CO for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 13:52:38 -0400 Received: from source ([74.125.82.50]) by exprod7ob118.postini.com ([64.18.6.12]) with SMTP ID DSNKS+b2Xp0DINNRe1mYp/NiXdHtGfYGGrYG@postini.com; Sun, 09 May 2010 10:52:38 PDT Received: by wwb18 with SMTP id 18so770803wwb.9 for ; Sun, 09 May 2010 10:52:29 -0700 (PDT) Received: by 10.227.128.9 with SMTP id i9mr2688105wbs.203.1273427549605; Sun, 09 May 2010 10:52:29 -0700 (PDT) Received: from mord (78-86-35-111.zone2.bethere.co.uk [78.86.35.111]) by mx.google.com with ESMTPS id x34sm4929049wbd.4.2010.05.09.10.52.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 09 May 2010 10:52:28 -0700 (PDT) To: bug-gnu-emacs@gnu.org Subject: 23.1; Problem with vc-next-action MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: Sun, 9 May 2010 18:52:28 +0100 From: rrt@sc3d.org Message-Id: <1273427548.559320.28772@mord> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Attempting to run C-x v v from a *vc-dir* buffer (in this case, for a git repository), I was prompted with: is edited but read-only; make it writable and continue?(y or n) When I press “y” I get the error: Wrong type argument: number-or-marker-p, nil There are at least three things wrong here: 1. In the prompt mentioned above, “(y or n)” needs a space before it. 2. The file that was diagnosed as read only was not read-only: it had perms -rw-r-----, and emacs was running under the owner’s uid. 3. The error mentioned above. I get the following backtrace: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) logior(nil 128) vc-next-action(nil) call-interactively(vc-next-action nil nil) In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-03-29 on rothera, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t filladapt-mode: t show-paren-mode: t savehist-mode: t minibuffer-electric-default-mode: t iswitchb-mode: t icomplete-mode: t global-auto-revert-mode: t desktop-save-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-n C-n C-p M-x d e b u g - o n - e C-g C-h f d e b u g - o n - e n t r y C-x b M-: ( d e b u g - o n - C-g M-x s e t - v a r i d e b u g - o n e r - e r t C-x b C-s C-x v v y C-n C-p C-f C-f C-f C-f C-f C-n C-s l o g i o r C-a M-< C-s l o g i o r C-h f C-x k C-x b * s h C-g C-x b s e a C-x C-f C-g M-x C-g C-x d C-s s e a r c h . c C-a C-x b C-s M-x e m a c s r e p o r t - b e m Recent messages: Quit [2 times] /home/rrt/Software/zile-stable/src/src/search.c is edited but read-only; make it writable and continue?(y or n) Entering debugger... uncompressing vc.el.gz...done Note: file is write protected Mark saved where search started Mark set Mark saved where search started Quit [3 times] Mark saved where search started From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 04:00:29 2011 Received: (at 6146-done) by debbugs.gnu.org; 7 Mar 2011 09:00:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwWIn-0005mA-BA for submit@debbugs.gnu.org; Mon, 07 Mar 2011 04:00:29 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwWIl-0005lz-17 for 6146-done@debbugs.gnu.org; Mon, 07 Mar 2011 04:00:27 -0500 Received: from localhost ([127.0.0.1]:46500) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwWIf-0006NB-AM; Mon, 07 Mar 2011 04:00:21 -0500 From: Glenn Morris To: 6146-done@debbugs.gnu.org Subject: Re: 23.1; Problem with vc-next-action In-Reply-To: <1273427548.559320.28772@mord> (rrt@sc3d.org's message of "Sun, 9 May 2010 18:52:28 +0100") References: <1273427548.559320.28772@mord> X-Spook: AUTODIN e-bomb Centro Leitrim brigand Capricorn Khaddafi X-Ran: vGjlEi[rN\8y-Egp+UxPK-X!kZ5t3AhZKhSbS'o2d_B User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 6146-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) rrt@sc3d.org wrote: > 1. In the prompt mentioned above, (y or n) needs a space before it. Fixed. > 2. The file that was diagnosed as read only was not read-only: it had > perms -rw-r-----, and emacs was running under the owner=C3=A2=E2=82=AC= =E2=84=A2s uid. > > 3. The error mentioned above. I get the following backtrace: > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) The only explanation I can come up with for 2 and 3 is that you somehow lost execute permissions on the directory. Anyway, I made it give a more explicit error if it fails to make the file writable. The user will have to sort out whatever the problem is in such a case. From unknown Sat Jun 21 12:15:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 04 Apr 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator